Turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- Home
- /
- Analytics
- /
- Stat Procs
- /
- Williams Deisgn 6*3 model, sample size calculation

Options

- RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page

- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content

Posted 06-30-2018 10:48 AM
(1293 views)

Hi Everyone,

How can we calculate the sample size for a 6*3 Williams model in non central t-distribution. The equation I have is below code. But I am stuck and is not able to go ahead. Any help would be of great use.

Thanks in advance.

3. Algorithm for Sample Size Calculation

Let σˆ2eσˆe2 denote the residual intrasubject MSE from a historical study; with Method 1, the sample size can be calculated with the following algorithm:

Set values for

*α*,*φ*, and*µT*/*µR*(default*α*= 0.05,*φ*= 0.80, and*µT*/*µR*= 1);Select a range of sample size (

*N*1,*N*2), for each*N*∊ [*N*1,*N*2], and do the following:V1=1.5σˆ2e/NV1=1.5σˆe2/N

*τ*1 = [log(*µT*/*µR*) – log(▵*L*) ] /*V*1*τ*2 = [log(*µT*/*µR*) – log(▵*U*) ] /*V*1Calculate

*PRNT*(–*tν,α*,*ν*6×3,*τ*2) –*PRNT*(–*tν,α*,*ν*6×3,*τ*1), where*PRNT*(·) is the probability from a noncentral*t*distribution, and*ν*6×3 = 2*N*– 4

2 REPLIES 2

- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content

- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content

Just in case somebody is going to proceed with this thread: The article from which @Laiju apparently copied the algorithm can be found here (with much better readable formulas).

In principle, a SAS program implementing the algorithm would consist of only a few lines of code. Most of the terms in the formulas seem to be clearly defined. Moreover, the article contains a table of calculated values (Table 2, p. 245) for comparison. However, I was unable to replicate these values. I even tried to solve the equation for unclear parameters *numerically* (given a few values from Table 2; without sophisticated tools such as SAS/OR, though), but didn't obtain satisfactory results.

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. **Registration is now open through August 30th**. Visit the SAS Hackathon homepage.

What is ANOVA?

ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.

Find more tutorials on the SAS Users YouTube channel.