<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Creating a Sampling Distribution in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Creating-a-Sampling-Distribution/m-p/241479#M47709</link>
    <description>Thank You!! Yes, I shall do the suggested on JSL learning.</description>
    <pubDate>Thu, 16 Jan 2020 05:24:43 GMT</pubDate>
    <dc:creator>nil</dc:creator>
    <dc:date>2020-01-16T05:24:43Z</dc:date>
    <item>
      <title>Creating a Sampling Distribution</title>
      <link>https://community.jmp.com/t5/Discussions/Creating-a-Sampling-Distribution/m-p/194168#M41503</link>
      <description>&lt;P&gt;I would like to create a true sampling distribution from my dataset and I am not sure what formula(s) to use in JMP to create it.&amp;nbsp; I have a population dataset of&amp;nbsp;10,000 and would like to create a sampling distribution with n=100, which would then result in 100 sample means.&amp;nbsp; What formula do I use to create this in JMP?&lt;/P&gt;</description>
      <pubDate>Tue, 23 Apr 2019 16:38:57 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Creating-a-Sampling-Distribution/m-p/194168#M41503</guid>
      <dc:creator>tmfortney</dc:creator>
      <dc:date>2019-04-23T16:38:57Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Sampling Distribution</title>
      <link>https://community.jmp.com/t5/Discussions/Creating-a-Sampling-Distribution/m-p/194187#M41506</link>
      <description>&lt;P&gt;First of all, a sampling distribution of what? We usually think of a sampling distribution with respect to an estimate, like the sample average or a slope. Is kind of thing what you are after? If so, what estimate?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Second, the sampling distribution assumes sampling with replacement. That operation would be difficult using column formulae.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Third, it usually takes many draws to get a good sense of the sampling distribution. Again, this iteration would be difficult using column formulae.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Fourth, do you have JMP Pro? There is a built-in bootstrapping feature that will re-sample your data to obtain new estimates of the statistic. I can't remember if you can specify the size of the draw or if it always uses the original sample size.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think that a script might be necessary.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Apr 2019 17:03:46 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Creating-a-Sampling-Distribution/m-p/194187#M41506</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2019-04-23T17:03:46Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Sampling Distribution</title>
      <link>https://community.jmp.com/t5/Discussions/Creating-a-Sampling-Distribution/m-p/194189#M41508</link>
      <description>&lt;P&gt;Thanks for the response.&amp;nbsp; So, I have population data from my call center regarding the length of phone calls over the course of a month and the&amp;nbsp;data is not normally distributed.&amp;nbsp; My thought was to perform random sampling of n=100 per sample, which would help create a normal distribution.&amp;nbsp; I know there are other ways to do this but I wanted to understand how to do this in JMP.&amp;nbsp; I do not have JMP Pro so this may not be possible based on your text below.&amp;nbsp; Does this make more sense what I am asking?&lt;/P&gt;</description>
      <pubDate>Tue, 23 Apr 2019 17:11:17 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Creating-a-Sampling-Distribution/m-p/194189#M41508</guid>
      <dc:creator>tmfortney</dc:creator>
      <dc:date>2019-04-23T17:11:17Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Sampling Distribution</title>
      <link>https://community.jmp.com/t5/Discussions/Creating-a-Sampling-Distribution/m-p/194190#M41509</link>
      <description>&lt;P&gt;I just read your original post again. You want to compute a sample mean of Y, whatever that data happens to be? Just calculate it. The sample average is still the unbiased estimator for the population mean.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How will the sampling distribution help you? What would you do with all the estimates from many sub-samples of N = 100?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, what are you trying to do such that a normal distribution is assumed?&lt;/P&gt;</description>
      <pubDate>Tue, 23 Apr 2019 17:18:56 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Creating-a-Sampling-Distribution/m-p/194190#M41509</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2019-04-23T17:18:56Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Sampling Distribution</title>
      <link>https://community.jmp.com/t5/Discussions/Creating-a-Sampling-Distribution/m-p/194191#M41510</link>
      <description>&lt;P&gt;Well,&amp;nbsp;I guess I need to give some additional background on this.&amp;nbsp; Where I am going with this is I would like to do is look at the different call center agents and perform an ANOVA test to determine if there are statistically significant differences in the average length of call time between agents.&amp;nbsp; However, when you look at the length of call data for each agent, the datasets are not normally distributed and I am violating homogenity of variance when I compare the sets.&amp;nbsp; Based on the central limits theorem, if I peformed a sampling distribution for the 10,000 (approximate) calls each agent performed that month with n=100 it should then be more normally distributed.&amp;nbsp; I also considered using a Welch's t-test for unequal variances, but I was not sure if this would fully address the issue.&amp;nbsp; I know there are other ways to normalize the data, but I also thought it would be useful to know how to perform sampling distributions in general using JMP.&amp;nbsp; I may be going about this the wrong way so any additional advice would be great!&lt;/P&gt;</description>
      <pubDate>Tue, 23 Apr 2019 17:29:53 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Creating-a-Sampling-Distribution/m-p/194191#M41510</guid>
      <dc:creator>tmfortney</dc:creator>
      <dc:date>2019-04-23T17:29:53Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Sampling Distribution</title>
      <link>https://community.jmp.com/t5/Discussions/Creating-a-Sampling-Distribution/m-p/194195#M41514</link>
      <description>&lt;P&gt;Here is one way to create the sample means.&amp;nbsp; If you saved and concatenated the tables, rather than deleting them, you could actually use the samples to do analyses on.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/semiconductor capability.jmp" );

dtMeans = New Table( "Final", New Column( "Sample" ), New Column( "NPN1 Mean" ) );
dtMeans &amp;lt;&amp;lt; add rows( 100 );

For( i = 1, i &amp;lt;= 100, i++,
	dt2 = dt &amp;lt;&amp;lt; Subset( invisible, Sample Size( 100 ), columns( :NPN1 ) );

	dtMeans:Sample[i] = i;
	dtMeans:NPN1 Mean[i] = Col Mean( dt2:npn1 );

	Close( dt2, nosave );

);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 23 Apr 2019 18:34:58 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Creating-a-Sampling-Distribution/m-p/194195#M41514</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2019-04-23T18:34:58Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Sampling Distribution</title>
      <link>https://community.jmp.com/t5/Discussions/Creating-a-Sampling-Distribution/m-p/194204#M41515</link>
      <description>&lt;P&gt;Now I understand. The ANOVA assumes that the random errors are normally distributed. So let's not use ANOVA!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There is a simple way around all of your issues. First of all, the&amp;nbsp;&lt;SPAN&gt;&lt;EM&gt;length of call time&lt;/EM&gt; is generally not normally distributed. It is a measure of the &lt;EM&gt;life&lt;/EM&gt; of the call or simply&amp;nbsp;&lt;EM&gt;life time&lt;/EM&gt; data. More generally, it is &lt;EM&gt;time to event&lt;/EM&gt; data (event is end of call). You want to use &lt;STRONG&gt;Analyze&lt;/STRONG&gt; &amp;gt; &lt;STRONG&gt;Reliability and Survival&lt;/STRONG&gt; &amp;gt; &lt;STRONG&gt;Life Distribution&lt;/STRONG&gt; instead of ANOVA. Select the &lt;STRONG&gt;Compare Groups&lt;/STRONG&gt; tab at the top of the launch dialog. Select the column with the length of the call values and click &lt;STRONG&gt;Y, Time to Event&lt;/STRONG&gt;. Select the column with the values that identify the agents and click &lt;STRONG&gt;Grouping&lt;/STRONG&gt;. (Big assumption for now but let's get things going: all the calls were completed. That is, none of the length of call observations represent incomplete calls. That situation is known as censoring. We can deal with that case properly later if necessary.) Now click &lt;STRONG&gt;Go&lt;/STRONG&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I suggest using the &lt;STRONG&gt;Weibull&lt;/STRONG&gt; distribution model and scaling. Click the &lt;STRONG&gt;checkbox&lt;/STRONG&gt; before Weibull and the &lt;STRONG&gt;radio button&lt;/STRONG&gt; after Weibull. You are going to get a lot of information back at you.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;First, the plot at the top in Compare Distributions is useful to visually assess goodness of fit and assess differences between agents. Second, the Summary report informs you about each agent. Open and examine the Wilcoxon Group Homogeneity Test. It assumes that the distribution of all the agents is the same but is significant if any agents are different. Third, there is a tab with an analysis of each agent. Each report is detailed and specific. You might not need or want all the information.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I will stop here and see if we are going in a good direction and if you have further questions.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Apr 2019 19:06:23 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Creating-a-Sampling-Distribution/m-p/194204#M41515</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2019-04-23T19:06:23Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Sampling Distribution</title>
      <link>https://community.jmp.com/t5/Discussions/Creating-a-Sampling-Distribution/m-p/194276#M41531</link>
      <description>&lt;P&gt;Too add a bit to&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/5358"&gt;@Mark_Bailey&lt;/a&gt; 's recommended solution, I'll throw in another issue. What about focusing on the mean (or have you thought about median instead?) AND the variance/spread? Recall Jack Welch's famous quote, paraphrasing, "Customers rarely experience the mean...they feel and experience the variance." So if your ultimate goal is to improve or make more consistent AVERAGE contact length...I encourage you to also think about minimizing/reducing variance when your ultimate goal is improved customer satisfaction through reducing contact length VARIANCE.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Apr 2019 13:32:29 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Creating-a-Sampling-Distribution/m-p/194276#M41531</guid>
      <dc:creator>P_Bartell</dc:creator>
      <dc:date>2019-04-24T13:32:29Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Sampling Distribution</title>
      <link>https://community.jmp.com/t5/Discussions/Creating-a-Sampling-Distribution/m-p/194285#M41534</link>
      <description>&lt;P&gt;Thanks for the advice and instructions.&amp;nbsp; I have never used this platform but after reading more about it I see how it could be very useful in this situation.&amp;nbsp; However, I am having some difficulty reading the output.&amp;nbsp; I see under the Wilcoxon Group Homogeneity Test that the p-value is &amp;lt;.0001 so the variances are definitely not homogenous.&amp;nbsp; With ANOVA I usually look at pairwise comparisons and can compare, but I am struggling with how to compare the Weibull.&amp;nbsp; As you mentioned, I can visually assess the goodness of fit under Compare Distributions,&amp;nbsp;but is there a way I can statistically determine the difference (like p-value) as we do with ANOVA?&lt;/P&gt;</description>
      <pubDate>Wed, 24 Apr 2019 14:06:21 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Creating-a-Sampling-Distribution/m-p/194285#M41534</guid>
      <dc:creator>tmfortney</dc:creator>
      <dc:date>2019-04-24T14:06:21Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Sampling Distribution</title>
      <link>https://community.jmp.com/t5/Discussions/Creating-a-Sampling-Distribution/m-p/194287#M41535</link>
      <description>&lt;P&gt;Very true and a good comment. I usually make it a point to look at both the medians and the spread of the data to determine if the process is in control.&amp;nbsp; Thanks for the feedback.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Apr 2019 14:08:49 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Creating-a-Sampling-Distribution/m-p/194287#M41535</guid>
      <dc:creator>tmfortney</dc:creator>
      <dc:date>2019-04-24T14:08:49Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Sampling Distribution</title>
      <link>https://community.jmp.com/t5/Discussions/Creating-a-Sampling-Distribution/m-p/194290#M41536</link>
      <description>&lt;P&gt;You are correct, there is no analog to the choices for multiple comparisons as found in the Oneway platform.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The Wilcoxon test is an omnibus indicator of any difference. It is not specific to one parameter&amp;nbsp;like the mean or variance. The plot at the top can help there, though. Parallel lines have the same variance or scale. Displaced lines have different mean or location. So if one agent is consistently completing their calls more quickly, their curve would shift to the left.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You also have the parameter point estimates and confidence intervals for each group (agent) for comparison, although that information is not the same as a multiple comparison test.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can also use the profilers to extract information about each group. These answers are provided both as a point estimate and interval estimate.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am not apologizing but simply recognizing that the methodology here comes from the reliability&amp;nbsp;engineering field. The same methods were independently discovered in medical mortality and morbidity. The terminology, therefore, pertains to those fields but the methods are none the less relevant. It just requires a bit of translation. Sometimes it also requires reversing the goals. In reliability, an increasing hazard function is bad. In your case, though, it is good. It means that an event is more likely to happen. But in your case an event is not a failure, it is a completed call.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There are analogous methods&amp;nbsp;for regression models with time to event data. So if you had covariates, you could include them in the model for lifetime and test them. There is a lot of flexibility here.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Apr 2019 14:18:50 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Creating-a-Sampling-Distribution/m-p/194290#M41536</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2019-04-24T14:18:50Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Sampling Distribution</title>
      <link>https://community.jmp.com/t5/Discussions/Creating-a-Sampling-Distribution/m-p/194291#M41537</link>
      <description>&lt;P&gt;You can use the profilers in Life Distribution to get more than the mean or median. You can estimate any quantile (time) or probability you like.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Apr 2019 14:20:35 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Creating-a-Sampling-Distribution/m-p/194291#M41537</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2019-04-24T14:20:35Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Sampling Distribution</title>
      <link>https://community.jmp.com/t5/Discussions/Creating-a-Sampling-Distribution/m-p/194294#M41538</link>
      <description>&lt;P&gt;Thanks- this helps a alot. It definitely helps me with what I am trying to do.&amp;nbsp; One last question- if the variances were equal and the population were normally distributed (or my sample size was sufficiently large) I could have used an ANOVA as I have in the past, correct?&amp;nbsp; I just want to make sure I am not using the wrong tool for the job.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Apr 2019 14:25:06 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Creating-a-Sampling-Distribution/m-p/194294#M41538</guid>
      <dc:creator>tmfortney</dc:creator>
      <dc:date>2019-04-24T14:25:06Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Sampling Distribution</title>
      <link>https://community.jmp.com/t5/Discussions/Creating-a-Sampling-Distribution/m-p/194296#M41539</link>
      <description>&lt;P&gt;Yes.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If the variances were unequal but the errors were normally distributed, then you could use the Welch ANOVA, which JMP automatically provides if you select Unequal Variances from the Oneway platform menu (red triangle).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Life Distribution is the right tool in this case, as far as I can tell.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Apr 2019 14:45:55 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Creating-a-Sampling-Distribution/m-p/194296#M41539</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2019-04-24T14:45:55Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Sampling Distribution</title>
      <link>https://community.jmp.com/t5/Discussions/Creating-a-Sampling-Distribution/m-p/194804#M41578</link>
      <description>&lt;P&gt;Then if you want to really go crazy, if you have access to written transcriptions of calls (say in a .txt file) AND JMP Pro...then a whole world of Text Analytics and Predictive/Exploratory modeling work is at your fingertips. With JMP Pro you can analyze the free form text of agents conversations using simple word/phrase counts up to and including latent class analysis, topic analysis, and latent semantic analysis for exploration. From there between the document term matrix or other dimensionality reduction methods, it's a short leap over to the Generalized Regression platform and the quantile regression capabilities for modeling text (or it's surrogates) to contact time quantiles for median or say, 95th quantile. Now you have a link between words and talk time! And if you have customer satisfaction scores wrt to an engagement you can model these as well. Here's a link to a Mastering JMP event that illustrates much of this workflow:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.jmp.com/en_us/events/ondemand/mastering-jmp/using_text_explorer_to_extend_analysis.html" target="_blank"&gt;https://www.jmp.com/en_us/events/ondemand/mastering-jmp/using_text_explorer_to_extend_analysis.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Apr 2019 15:03:32 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Creating-a-Sampling-Distribution/m-p/194804#M41578</guid>
      <dc:creator>P_Bartell</dc:creator>
      <dc:date>2019-04-25T15:03:32Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Sampling Distribution</title>
      <link>https://community.jmp.com/t5/Discussions/Creating-a-Sampling-Distribution/m-p/240946#M47595</link>
      <description>Hi txnelson, Thanks for script on sample means. I am new to JSL and need your help to correct the script which I had tried on my data. Data table and script attached for reference. I just followed (based on limited understanding) the script you have posted. However, the final table observed was blank. Please suggest..&lt;BR /&gt;I would need Final table with 100 sample mean, each of 3 samples, from original data table.&lt;BR /&gt;&lt;BR /&gt;Data Table (Table Name: BPN) Contains BPN content value (in %) from 60 individual units/ vials.&lt;BR /&gt;BPN&lt;BR /&gt;103.2&lt;BR /&gt;100.3&lt;BR /&gt;99.2&lt;BR /&gt;103.6&lt;BR /&gt;102.1&lt;BR /&gt;100.6&lt;BR /&gt;100.1&lt;BR /&gt;99.6&lt;BR /&gt;99&lt;BR /&gt;102.6&lt;BR /&gt;101.2&lt;BR /&gt;97.6&lt;BR /&gt;102.1&lt;BR /&gt;100&lt;BR /&gt;102.4&lt;BR /&gt;101.7&lt;BR /&gt;105.3&lt;BR /&gt;103.7&lt;BR /&gt;99.1&lt;BR /&gt;103.1&lt;BR /&gt;99.3&lt;BR /&gt;99.2&lt;BR /&gt;98.5&lt;BR /&gt;101.7&lt;BR /&gt;106.3&lt;BR /&gt;97.8&lt;BR /&gt;104.6&lt;BR /&gt;102.9&lt;BR /&gt;103.1&lt;BR /&gt;101.8&lt;BR /&gt;101.8&lt;BR /&gt;99.9&lt;BR /&gt;102&lt;BR /&gt;100.6&lt;BR /&gt;106.6&lt;BR /&gt;100.6&lt;BR /&gt;104.7&lt;BR /&gt;98.4&lt;BR /&gt;95.6&lt;BR /&gt;103.2&lt;BR /&gt;103.5&lt;BR /&gt;101&lt;BR /&gt;102.8&lt;BR /&gt;100.5&lt;BR /&gt;97&lt;BR /&gt;104&lt;BR /&gt;99.8&lt;BR /&gt;103&lt;BR /&gt;103.4&lt;BR /&gt;101.6&lt;BR /&gt;100.6&lt;BR /&gt;101.9&lt;BR /&gt;101.2&lt;BR /&gt;99.7&lt;BR /&gt;101.1&lt;BR /&gt;101.1&lt;BR /&gt;99.2&lt;BR /&gt;104.9&lt;BR /&gt;103.4&lt;BR /&gt;106.4&lt;BR /&gt;&lt;BR /&gt;Script: (with data table open, I tried with script below)&lt;BR /&gt;&lt;BR /&gt;dtMeans = New Table( "BPN Mean", New Column( "Sample" ), New Column( "BPN 3 Sample Mean" ) );&lt;BR /&gt;dtMeans &amp;lt;&amp;lt; add rows( 100 );&lt;BR /&gt;&lt;BR /&gt;For( i = 1, i &amp;lt;= 60, i++,&lt;BR /&gt;dt2 = dt &amp;lt;&amp;lt; Subset( invisible, Sample Size( 3), columns( : BPN ) );&lt;BR /&gt;&lt;BR /&gt;dtMeans:Sample[i] = i;&lt;BR /&gt;dtMeans:BPN 3 Sample Mean[i] = Col Mean( dt2:BPN );&lt;BR /&gt;&lt;BR /&gt;Close( dt2, nosave );&lt;BR /&gt;&lt;BR /&gt;);&lt;BR /&gt;&lt;BR /&gt;Thanks!!</description>
      <pubDate>Mon, 13 Jan 2020 13:40:34 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Creating-a-Sampling-Distribution/m-p/240946#M47595</guid>
      <dc:creator>nil</dc:creator>
      <dc:date>2020-01-13T13:40:34Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Sampling Distribution</title>
      <link>https://community.jmp.com/t5/Discussions/Creating-a-Sampling-Distribution/m-p/241092#M47608</link>
      <description>&lt;P&gt;The Subset platform has a built in random capability.&amp;nbsp; Below is a simple script that uses&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp; Tables==&amp;gt;Subset&lt;/P&gt;
&lt;P&gt;to generate a random sample data table with 3 rows.&amp;nbsp; It is in a For() loop, so you can specify to generate as many random samples as you want&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt = New Table( "test",
	New Column( "BPN",
		values(
			{103.2, 100.3, 99.2, 103.6, 102.1, 100.6, 100.1, 99.6, 99, 102.6,
			101.2, 97.6, 102.1, 100, 102.4, 101.7, 105.3, 103.7, 99.1, 103.1,
			99.3, 99.2, 98.5, 101.7, 106.3, 97.8, 104.6, 102.9, 103.1, 101.8,
			101.8, 99.9, 102, 100.6, 106.6, 100.6, 104.7, 98.4, 95.6, 103.2,
			103.5, 101, 102.8, 100.5, 97, 104, 99.8, 103, 103.4, 101.6, 100.6,
			101.9, 101.2, 99.7, 101.1, 101.1, 99.2, 104.9, 103.4, 106.4}
		)
	)
);

For( i = 1, i &amp;lt;= 10, i++, // change this line to produce as many subsets as you want
	dt &amp;lt;&amp;lt; Subset( Sample Size( 3 ), Selected columns only( 0 ) )
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 14 Jan 2020 12:30:00 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Creating-a-Sampling-Distribution/m-p/241092#M47608</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2020-01-14T12:30:00Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Sampling Distribution</title>
      <link>https://community.jmp.com/t5/Discussions/Creating-a-Sampling-Distribution/m-p/241477#M47707</link>
      <description>Thanks txnelson. The script output provides 10 random samples, each of sample size 3. As suggested, one can change required no of samples and or sample size. Script is limited to re-sampling (or random subset of sample size 3, 10 times).&lt;BR /&gt;Actually I would need script which can provide data table with mean of sample size 3, arranged in single column for lets say 10 random sample, which I would further use to understand probability of observing different mean values.</description>
      <pubDate>Thu, 16 Jan 2020 04:58:21 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Creating-a-Sampling-Distribution/m-p/241477#M47707</guid>
      <dc:creator>nil</dc:creator>
      <dc:date>2020-01-16T04:58:21Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Sampling Distribution</title>
      <link>https://community.jmp.com/t5/Discussions/Creating-a-Sampling-Distribution/m-p/241478#M47708</link>
      <description>&lt;P&gt;Below is a simple modification of the script I previously responded with.&amp;nbsp; The one below is just one of the ways to solve this.&amp;nbsp; If you are going to play in the world of JMP Scripting, you need to read the JMP Scripting Guide, so you can start down the path of learning JSL.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;names defalut to here( 1 );

dt = New Table( "test",
	New Column( "BPN",
		values(
			{103.2, 100.3, 99.2, 103.6, 102.1, 100.6, 100.1, 99.6, 99, 102.6, 101.2, 97.6, 102.1,
			100, 102.4, 101.7, 105.3, 103.7, 99.1, 103.1, 99.3, 99.2, 98.5, 101.7, 106.3, 97.8,
			104.6, 102.9, 103.1, 101.8, 101.8, 99.9, 102, 100.6, 106.6, 100.6, 104.7, 98.4, 95.6,
			103.2, 103.5, 101, 102.8, 100.5, 97, 104, 99.8, 103, 103.4, 101.6, 100.6, 101.9,
			101.2, 99.7, 101.1, 101.1, 99.2, 104.9, 103.4, 106.4}
		)
	)
);

dtSamples = New Table( "Samples", New Column( "Sample Means" ) );

For( i = 1, i &amp;lt;= 10, i++, // change this line to produce as many subsets as you want
	dt2 = dt &amp;lt;&amp;lt; Subset( invisible, Sample Size( 3 ), Selected columns only( 0 ) );
	dtSamples &amp;lt;&amp;lt; add Rows( 1 );
	dtSamples:Sample Means[N Rows( dtSamples )] = Col Mean( dt2:BPN );
	Close( dt2, nosave );
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 16 Jan 2020 05:12:23 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Creating-a-Sampling-Distribution/m-p/241478#M47708</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2020-01-16T05:12:23Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Sampling Distribution</title>
      <link>https://community.jmp.com/t5/Discussions/Creating-a-Sampling-Distribution/m-p/241479#M47709</link>
      <description>Thank You!! Yes, I shall do the suggested on JSL learning.</description>
      <pubDate>Thu, 16 Jan 2020 05:24:43 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Creating-a-Sampling-Distribution/m-p/241479#M47709</guid>
      <dc:creator>nil</dc:creator>
      <dc:date>2020-01-16T05:24:43Z</dc:date>
    </item>
  </channel>
</rss>

