asymptotic – When is the tendency of a statistic of a certain form?

In many books, the bias correction of the jackknife resampling method is proved on the assumption that the bias has a special form, namely a / n + b / n ^ 2 + c / n ^ 3 * …

Sometimes "written under correct conditions", the deviation of a statistic has the form a / n + b / n ^ 2 + c / n ^ 3 * ….

But what conditions do you mean? I can not find the answer to my question.

Thank you for your help!

Table form – How can I generate exactly this table?

Enter image description here

The table form[] is a trigger table that displays sine, cosine, and tangent values ​​for integer angles from 0 to 90 degrees in 3-degree increments.

I want to use Mathematica to recreate exactly the same table. I have to use TableForm[],

I have so far:

TeXForm @ TableForm[
  Select[
   Flatten[
    Table[
     {angle, sine, cosine, tangent},
     {angle, 0, 90, 3},
     {sine, N[Sin[0 Degree], 4], N[Sin[90 Degree], 4]corner
{Cosine, N[Cos[0 Degree], 4], N[Cos[90 Degree], 4]corner
Tangens, N[Tan[0 Degree], 4], N[Tan[90 Degree], 4]corner
].
1
].
IntegerQ[#[[3]]]&& GCD[#[[1]], #[[2]]]== 1 &
]]

I'm trying to manipulate code that I used to create another table in the last line:

IntegerQ[#[[3]]]&& GCD[#[[1]], #[[2]]]== 1 &

Could be completely irrelevant. For the lines that show sines, cosines, and tangents, I've tried to start at 0 degrees, display 4 numbers (leading zeroes do not count, hence the values ​​for angles 3 for sines and tangs), up to 90 degrees, and me would like to climb it in increments of 3 degrees.

Thank you for any help.

sharepoint online – how do I get the user profile properties of the user who changed the item on the display form?

We can use the user profile REST API with jQuery to accomplish this. For reference purposes, paste the following code into a Script Editor Web Part on the page of the display form.



Sharepoint Enterprise – How can I isolate data by dragging a field from a data connection with the user information list onto an InfoPath form?

I managed to create a data connection in InfoPath, hoping to retrieve the current user's information, display name, and so on.
However, dragging the desired field into the InfoPath form creates a repeat section that contains all the entries for that field.
How can I isolate the information so that it is intended only for the current user?

I would like to create a question and answer form

I want to create an interview system for the WordPress website. There will be a question and a form to answer (written answer, not MCQ). There will be a timeframe to answer. If an applicant can not answer within the given time, the questions will be empty and the system will not be able to answer them and move on to the next question. I would like to ask 10-15 questions and collect the answer of a candidate.

How can I do that?

Many Thanks
Mohsin Alam

Powershell – After loading the form, check the items in the list and count down

The following code succeeds, but I can not implement two functions.

  1. I hope that when the form is loaded,
    On tab 1 the list entry, entry 1 and entry 3 are selected.
    On tab 2, List Item, Element4 is selected

  2. Add countdown, automatic confirmation function
    If no action is taken within 10 seconds of opening the form, the OK button is automatically clicked.
    When the process is complete, cancel the countdown





# ----------------------------------------------
#region application functions
# ----------------------------------------------

#endregion application functions

# ----------------------------------------------
# Generated form function
# ----------------------------------------------
Function show-form_psf {

# ----------------------------------------------
#region Import the assemblies
# ----------------------------------------------
    [void][reflection.assembly]:: Load (System.Windows.Forms, Version = 2.0.0.0, Culture = neutral, PublicKeyToken = b77a5c561934e089)
    [void][reflection.assembly]:: Load (System.Drawing, Version = 2.0.0.0, Culture = neutral, PublicKeyToken = b03f5f7f11d50a3a & # 39;
#endregion import assemblies

# ----------------------------------------------
#region Generated form objects
# ----------------------------------------------
    [System.Windows.Forms.Application]:: EnableVisualStyles ()
$ form1 = new object & # 39; System.Windows.Forms.Form & # 39;
$ tabcontrol1 = New object & # 39; System.Windows.Forms.TabControl & # 39;
$ tabpage1 = New object & # 39; System.Windows.Forms.TabPage & # 39;
$ checkedlistbox1 = New object & # 39; System.Windows.Forms.CheckedListBox & # 39;
$ tabpage2 = New object & # 39; System.Windows.Forms.TabPage & # 39;
$ checkedlistbox2 = New object & # 39; System.Windows.Forms.CheckedListBox & # 39;
$ buttonOK = New object & # 39; System.Windows.Forms.Button & # 39;
$ InitialFormWindowState = New Object & # 39; System.Windows.Forms.FormWindowState & # 39;
#endregion Generated form objects

# ----------------------------------------------
# User generated script
# ----------------------------------------------

$ form1_Load = {
#TODO: Initialize the form controls here

}

#region Control Helper functions
Function Update ListBox
{
    <#
        .SYNOPSIS
            This functions helps you load items into a ListBox or CheckedListBox.

        .DESCRIPTION
            Use this function to dynamically load items into the ListBox control.

        .PARAMETER ListBox
            The ListBox control you want to add items to.

        .PARAMETER Items
            The object or objects you wish to load into the ListBox's Items collection.

        .PARAMETER DisplayMember
            Indicates the property to display for the items in this control.

        .PARAMETER Append
            Adds the item(s) to the ListBox without clearing the Items collection.

        .EXAMPLE
            Update-ListBox $ListBox1 "Red", "White", "Blue"

        .EXAMPLE
            Update-ListBox $listBox1 "Red" -Append
            Update-ListBox $listBox1 "White" -Append
            Update-ListBox $listBox1 "Blue" -Append

        .EXAMPLE
            Update-ListBox $listBox1 (Get-Process) "ProcessName"

        .NOTES
            Additional information about the function.
    #>

        param
(
            [Parameter(Mandatory = $true)]
            [ValidateNotNull()]
            [System.Windows.Forms.ListBox]
            
            
            
            $ ListBox,
            [Parameter(Mandatory = $true)]
            [ValidateNotNull()]
            
            
            
            $ Items,
            [Parameter(Mandatory = $false)]
            [string]
            
            
            
            $ DisplayMember,
            [switch]
            $ Append
)

if (-not $ Append)
{
$ listBox.Items.Clear ()
}

if ($ Items -is [System.Windows.Forms.ListBox+ObjectCollection])
{
$ listBox.Items.AddRange ($ Items)
}
elseif ($ Items -is [Array])
{
$ listBox.BeginUpdate ()
foreach ($ obj in $ Items)
{
$ listBox.Items.Add ($ obj)
}
$ listBox.EndUpdate ()
}
otherwise
{
$ listBox.Items.Add ($ Items)
}

$ listBox.DisplayMember = $ DisplayMember
}
#endregion

$ buttonOK_Click = {
#TODO: Place a custom script here
$ checkedlistbox1.CheckedItems | Out-Host
$ checkedlistbox2.CheckedItems | Out-Host
}


# --End User Generated Script--
# ----------------------------------------------
#region Generated events
# ----------------------------------------------

$ Form_StateCorrection_Load =
{
# Correct the initial state of the form to avoid the problem with the .Net maximized form
$ form1.WindowState = $ InitialFormWindowState
}

$ Form_Cleanup_FormClosed =
{
#Remove all event handlers from the controls
To attempt
{
$ buttonOK.remove_Click ($ buttonOK_Click)
$ form1.remove_Load ($ form1_Load)
$ form1.remove_Load ($ Form_StateCorrection_Load)
$ form1.remove_FormClosed ($ Form_Cleanup_FormClosed)
}
start {out-zero <# Prevent PSScriptAnalyzer warning #> }
}
#endregion Generated events

# ----------------------------------------------
#region Generated form code
# ----------------------------------------------
$ form1.SuspendLayout ()
$ tabcontrol1.SuspendLayout ()
$ tabpage1.SuspendLayout ()
$ tabpage2.SuspendLayout ()
#
# Form 1
#
$ form1.Controls.Add ($ tabcontrol1)
$ form1.Controls.Add ($ buttonOK)
$ form1.AcceptButton = $ buttonOK
$ form1.AutoScaleDimensions = & # 39; 6, 13 & # 39;
$ form1.AutoScaleMode = & # 39; font & # 39;
$ form1.ClientSize = & # 28; 284, 262 & # 39;
$ form1.FormBorderStyle = & # 39; FixedDialog & # 39;
$ form1.MaximizeBox = $ False
$ form1.MinimizeBox = $ False
$ form1.Name = & # 39; form1 & # 39;
$ form1.StartPosition = & # 39; CenterScreen & # 39;
$ form1.Text = & # 39; form & # 39;
$ form1.add_Load ($ form1_Load)
#
# tabcontrol1
#
$ tabcontrol1.Controls.Add ($ tabpage1)
$ tabcontrol1.Controls.Add ($ tabpage2)
$ tabcontrol1.Location = & # 39; 22, 17 & # 39;
$ tabcontrol1.Name = & # 39; tabcontrol1 & # 39;
$ tabcontrol1.SelectedIndex = 0
$ tabcontrol1.Size = & # 39; 240, 204 & # 39;
$ tabcontrol1.TabIndex = 1
#
# tabpage1
#
$ tabpage1.Controls.Add ($ checkedlistbox1)
$ tabpage1.Location = & # 39; 4, 22 & # 39;
$ tabpage1.Name = & # 39; tabpage1 & # 39;
$ tabpage1.Padding = & # 39; 3, 3, 3, 3 & # 39;
$ tabpage1.Size = & # 232; 178 & # 39;
$ tabpage1.TabIndex = 0
$ tabpage1.Text = & # 39; tabpage1 & # 39;
$ tabpage1.UseVisualStyleBackColor = $ True
#
# checkedlistbox1
#
$ checkedlistbox1.CheckOnClick = $ True
$ checkedlistbox1.FormattingEnabled = $ True
    [void]$ checkedlistbox1.Items.Add (& # 39; item 1 & # 39;)
    [void]$ checkedlistbox1.Items.Add (& # 39; item 2 & # 39;)
    [void]$ checkedlistbox1.Items.Add (& # 39; item 3 & # 39;)
$ checkedlistbox1.Location = & # 39; 26, 27 & # 39;
$ checkedlistbox1.Name = & # 39; checkedlistbox1 & # 39;
$ checkedlistbox1.Size = & # 39; 181, 124 & # 39;
$ checkedlistbox1.TabIndex = 0
$ checkedlistbox1.UseCompatibleTextRendering = $ True
#
# tabpage2
#
$ tabpage2.Controls.Add ($ checkedlistbox2)
$ tabpage2.Location = & # 39; 4, 22 & # 39;
$ tabpage2.Name = & tab; tabpage2 & # 39;
$ tabpage2.Padding = & # 39; 3, 3, 3, 3 & # 39;
$ tabpage2.Size = & # 232; 178 & # 39;
$ tabpage2.TabIndex = 1
$ tabpage2.Text = & # 39; tabpage2 & # 39;
$ tabpage2.UseVisualStyleBackColor = $ True
#
# checkedlistbox2
#
$ checkedlistbox2.CheckOnClick = $ True
$ checkedlistbox2.FormattingEnabled = $ True
    [void]$ checkedlistbox2.Items.Add (& # 39; item 4 & # 39;)
    [void]$ checkedlistbox2.Items.Add (& # 39; item 5 & # 39;)
    [void]$ checkedlistbox2.Items.Add (& # 39; item 6 & # 39;)
$ checkedlistbox2.Location = & # 39; 26, 27 & # 39;
$ checkedlistbox2.Name = & # 39; checkedlistbox2 & # 39;
$ checkedlistbox2.Size = & # 39; 181, 124 & # 39;
$ checkedlistbox2.TabIndex = 1
$ checkedlistbox2.UseCompatibleTextRendering = $ True
#
# buttonOK
#
$ buttonOK.Anchor = & # 39; Lower right & # 39;
$ buttonOK.DialogResult = & # 39; OK & # 39;
$ buttonOK.Location = & # 39; 197, 227 & # 39;
$ buttonOK.Name = & # 39; buttonOK & # 39;
$ buttonOK.Size = & # 39; 75, 23 & # 39;
$ buttonOK.TabIndex = 0
$ buttonOK.Text = & # 39; & OK & # 39;
$ buttonOK.UseCompatibleTextRendering = $ True
$ buttonOK.UseVisualStyleBackColor = $ True
$ buttonOK.add_Click ($ buttonOK_Click)
$ tabpage2.ResumeLayout ()
$ tabpage1.ResumeLayout ()
$ tabcontrol1.ResumeLayout ()
$ form1.ResumeLayout ()
#endregion Generated form code

# ----------------------------------------------

#Store the initial state of the form
$ InitialFormWindowState = $ form1.WindowState
#Init the OnLoad event to correct the initial state of the form
$ form1.add_Load ($ Form_StateCorrection_Load)
#Clean the control events
$ form1.add_FormClosed ($ Form_Cleanup_FormClosed)
#View the form
return $ form1.ShowDialog ()

} #End Function

# Call the form
Show-form_psf | Out-Null

Submit PHP Problem in Form together with PagSeuro API

Hello, I have a problem, in the program part, with the query I could get everything running (map, number of packages, hash … etc), only that I can submit in the form, it does not lead me to the page I would like to be able to check it out (this is the controller / controllerPedido.php)
, config.php is correct.

my checkout.js and my index.html:

var root = "http: //" + document.location.hostname + "/ pgseguro /";
var value = 500.00;


// start session with hash generated in controllerId.php via json
Function startSession ()
{
$ .ajax ({
URL: Root + "controller / controllerId.php",
Type: "POST",
dataType: & # 39; json & # 39 ;,
Success: Function (Data) {
PagSeguroDirectPayment.setSessionId (data.id);
},
complete: function () {
listPayment ();
}
});
}


// List the possible payment with the Pagseguro
Function ListMetalPayment () {
PagSeguroDirectPayment.getPaymentMethods ({{{{{
Amount: Value,
Success: Function (Data) {

$ .each (data.paymentMethods.CREDIT_CARD.options, function (i, obj) {
$ (& # 39; creditcard & # 39;). append ("
"+ obj.name +"
"); }) }, complete: function (data) { getTokenCard (); } }); } / * When entering the card number in the first 6 digits, the pagseguro function is used to check the flag of the map * / $ (& # 39; # numCartao & # 39;) on (& # 39; keyup & # 39 ;, function () { var NumberCartao = $ (this) .val (); // card number var qntCharacters = NumberCartao.length; // the card sign qnt / * If you see that the number of characters is 6, the check is performed (at least 6 digits). know the flag. * / if (qntCharacters> = 6) { PagSeguroDirectPayment.getBrand ({ cardBin: Success: Function (Response) { var flagImg = response.brand.name; // after the flanname $ (& # 39; CHANNEL flag & # 39;). Html (""); // an image is created with the flan name getParcelas (flagImg); }, // If the error is resolved, the div of the map flag (if there is something) and an error message will be sent to the user. Error: Function (response) { $ (& # 39; C flag & # 39;). $ (& # 39; msgError & # 39;). html ("Invalid card!") }, }); } }); // displays the quantity and values ​​of the packages Function getParcelas (Flag) { PagSeguroDirectPayment.getInstallments ({{{{{ amount: worth, // brings the value of pruduto maxInstallmentNoInterest: 2, // the number of installments that are not interest-bearing brand: flag, // the flag that comes from the parameter Success: Function (Response) { / * The first foreach reads the json sent in the response parameter, which consists of several arrays. The second foreach (each $.) Below removes all values ​​within the tag
Code;