sasikumar ☆ Tamilnadu, India, 2008-04-03 11:19 (6229 d 05:54 ago) Posting: # 1755 Views: 31,527 |
|
Dear All, Thanks for your previous prompt answer for CV calculation! I used the following SAS Procedure for Sample Size Calculation and I hope that it would have been a right procdure for calculating power and sample size for BA/BE studies. How to calculate manually while I am using log transformed data? Please help me in this regard for manual calculation especially "meanratio" and "Lower and Upper bound" and "CV" or give me a practical example with formula or any material. proc power; Thanks in advance, S.Sasikumar Edit: Reformatted using BBCode 'code' [Helmut] |
Jaime_R ★★ Barcelona, 2008-04-03 15:13 (6229 d 02:01 ago) @ sasikumar Posting: # 1756 Views: 29,128 |
|
Hi Sasikumar! ❝ Dear All, ❝ Thanks for your previous prompt answer for CV calculation! 'All' should read Helmut... ![]() Your code is flawed; you don't have to recreate the wheel - see this post for a reference of SAS-code. — Regards, Jaime |
d_labes ★★★ Berlin, Germany, 2008-04-23 13:54 (6209 d 03:19 ago) @ sasikumar Posting: # 1793 Views: 31,439 |
|
Dear Sasikumar, as always with "The power to know" nobody knows exactly what to code. ![]() After fiddling a little bit with the new experimental (in SAS 9.1) PROC POWER I came up with the code proc power; With that code you can reproduce the block for power = 80% in Diletti et.al., "Sample size determination for bioequivalence assessment ..." Int. J. Clin. Pharm. Ther. Tox., Vol.30 Suppl. No.1, pp S51-58, 1992 Table 1 for multiplicative model. With some minor deviations for CV=5% and 7.5%. Note that the CV has to given as ratio, not percent. Note further that uneven npairs have to rounded to even numbers to get a sequence balanced TR/RT design. — Regards, Detlew |
balakotu ★ India, 2009-09-07 09:51 (5707 d 07:23 ago) @ d_labes Posting: # 4155 Views: 28,188 |
|
❝ ❝ ❝ From the above code is calculating for sample size is it ok but my doubt it is only for cross over study or else parallel, crossover, replicate and reference partial. how it will execute above program. Suppose our study is parallel wt modification i am doing in that program crossover ? replicate ? reference partial ? could u suggest me soon... Edit: Full quote removed. Please delete anything from the text of the original poster which is not necessary in understanding your answer; see also this post! [Helmut] |
yuvrajkatkar ★ Pune, Maharashtra (India), 2009-09-19 11:24 (5695 d 05:49 ago) @ d_labes Posting: # 4220 Views: 27,935 |
|
If we have 90% CI, T/R ratio and Number of subjects. Then how to calculate Intrasubject Variability for BE study, Kindly suggest me. — Best Regards, Yuvraj |
Helmut ★★★ ![]() ![]() Vienna, Austria, 2009-09-19 13:48 (5695 d 03:26 ago) @ yuvrajkatkar Posting: # 4222 Views: 27,909 |
|
Hey Yuvraj, come on, according to your profile you are the statistician of us two! Look at the formula for the CI – and fire up algebra. You need wetware – not software. Should take you less than two minutes to come up with a solution suitable for a pocket calculator. In the future, please search the forum before posting (we had this topic several times, e.g., in this thread). If you are too lazy for this little exercise in maths (which I don’t hope), the entire stuff is given in one of my lectures (slides 12-15). — Dif-tor heh smusma 🖖🏼 Довге життя Україна! ![]() Helmut Schütz ![]() The quality of responses received is directly proportional to the quality of the question asked. 🚮 Science Quotes |
yuvrajkatkar ★ Pune, Maharashtra (India), 2009-09-21 17:10 (5693 d 00:04 ago) @ Helmut Posting: # 4224 Views: 27,600 |
|
Dear Sir, Suppose Geometric Least Square Mean Ratio (T/R)=1.20 Lower Confidence Limit=1.08 Upper Confidence Limit=1.33 Number of Subjects (N)=42 Degrees of Freedom=N-2=40; TINV(.10,40)=1.683851 Based on Lower Confidence Limit Residual SUMSQ(1.08,1.20)=2.6064 MSresidual=2.6064/40=.06516 and SEdifference=sqrt(2*MSresidual/42)=0.055703296 CVintra=100*SQRT(EXP(MSresidual)-1)=26% Based on Upper Confidence Limit Residual SUMSQ(1.33,1.20)=3.2089 MSresidual=3.2089/40=0.0802225 and SEdifference=sqrt(2*MSresidual/42)=0.061807112 CVintra=100*SQRT(EXP(MSresidual)-1)=29% I want to confirm, Whether I am right or wrong? I need your reply. — Best Regards, Yuvraj |
Helmut ★★★ ![]() ![]() Vienna, Austria, 2009-09-21 17:23 (5692 d 23:50 ago) @ yuvrajkatkar Posting: # 4225 Views: 27,627 |
|
Dear Yuvraj, why don’t you verify it yourself? Calculate the CI by the standard formula (T–R difference in log-scale, new MSE) and check whether the CI agrees with the original one. ❝ I need your reply. Pay me. ![]() — Dif-tor heh smusma 🖖🏼 Довге життя Україна! ![]() Helmut Schütz ![]() The quality of responses received is directly proportional to the quality of the question asked. 🚮 Science Quotes |
Helmut ★★★ ![]() ![]() Vienna, Austria, 2009-09-21 20:33 (5692 d 20:40 ago) @ yuvrajkatkar Posting: # 4226 Views: 27,673 |
|
Dear Yuvraj! ❝ Suppose Geometric Least Square Mean Ratio (T/R)=1.20 ❝ Lower Confidence Limit=1.08 ❝ Upper Confidence Limit=1.33 ❝ Number of Subjects (N)=42 ❝ Degrees of Freedom=N-2=40; ❝ TINV(.10,40)=1.683851 So far, so good. ❝ Based on Lower Confidence Limit ❝ CVintra=100*SQRT(EXP(MSresidual)-1)=26% ❝ Based on Upper Confidence Limit ❝ CVintra=100*SQRT(EXP(MSresidual)-1)=29% I can’t follow you. Which formula were you using? ![]() I got: MSE based on lower CI and PE: 0.0430666 (CV 21.0%) MSE based on upper CI and PE: 0.0410446 (CV 20.5%) Recalculating the CI from the estimated MSEs and the reported PE of 1.20 I got CI based on lower: 1.06 – 1.36, and CI based on upper: 1.07 – 1.35, which is pretty close to the original 1.08 – 1.33… The actual CVintra in the study likely was <20.5%, since the reported CI was tighter than both estimates. This discrepancy is due to the limited significant digits of the reported CI and PE. However, since the estimate is conservative you are on the safe side. ❝ I want to confirm, ❝ Whether I am right or wrong? Probably wrong. — Dif-tor heh smusma 🖖🏼 Довге життя Україна! ![]() Helmut Schütz ![]() The quality of responses received is directly proportional to the quality of the question asked. 🚮 Science Quotes |
yuvrajkatkar ★ Pune, Maharashtra (India), 2009-09-22 18:09 (5691 d 23:05 ago) @ Helmut Posting: # 4229 Views: 27,624 |
|
Dear Sir, As per your lecture "Statistical design and analysis II" n1=21,n2=21 PE=sqrt(1.08*1.33)=1.20 delta CL=lnCLhi-lnPE=ln(1.33)-ln(1.20)=0.10408911 alpha=0.05 t1-2*alpha,n1+n2-2=1.68385101 MSE=2*[deltaCL/(sqrt((1/n1)+(1/n2))*t1-2*alpha,n1+n2-2)]^2 SEdifference=sqrt(2*MSE/42)=0.061816105 CVintra=100*sqrt(exp(MSE)-1) which is nearly equal to 29%90% CI for Upper limit =EXP(ln(T/R)+1.68385101*SEdifference) which is nearly equal to 1.3390% CI for Lower limit =EXP(ln(T/R)-1.68385101*SEdifference) which is nearly equal to 1.08Is it right, Sir? Edit: Reformatted using BBCodes. [Helmut] — Best Regards, Yuvraj |
Helmut ★★★ ![]() ![]() Vienna, Austria, 2009-09-22 20:22 (5691 d 20:51 ago) @ yuvrajkatkar Posting: # 4231 Views: 29,249 |
|
Dear Yuvraj! ❝ 90% CI for Upper limit=1.329927721 which is nearly equal to 1.33 ❝ 90% CI for Lower limit=1.07998416 which is nearly equal to 1.08 ❝ ❝ Is it right, Sir? Oops, you got me! ![]() You are right – and I am wrong. If I use values with no rounding I get exactly 1.08 and 1.33 up to the numeric precision of my machine. Lesion learned: Never trust in an old fart with a pocket calculator too lazy to fire up some statistical software. Terribly sorry for the confusion… — Dif-tor heh smusma 🖖🏼 Довге життя Україна! ![]() Helmut Schütz ![]() The quality of responses received is directly proportional to the quality of the question asked. 🚮 Science Quotes |
yuvrajkatkar ★ Pune, Maharashtra (India), 2009-09-23 09:27 (5691 d 07:47 ago) @ Helmut Posting: # 4232 Views: 27,650 |
|
Dear Sir, I am really very happy about your lectures. You are really Great Sir. Sir, I want your suggestion, how to improve my knowledge and concentration? I am really very lazy. — Best Regards, Yuvraj |
Helmut ★★★ ![]() ![]() Vienna, Austria, 2009-09-23 15:50 (5691 d 01:24 ago) @ yuvrajkatkar Posting: # 4238 Views: 27,822 |
|
Dear Yuvraj! ❝ I am really very happy about your lectures. THX, but remember these statements about ‘trust’:
❝ Sir, I want your suggestion, how to improve my knowledge…
❝ … and concentration? योग? Study an instrument? Chess, Go? Tightrope walking, freeclimbing? ❝ I am really very lazy. Too bad, indeed! Genius is one per cent inspiration and ninety-nine per cent perspiration. Accordingly, a ‘genius’ is often merely a talented person who has done all of his or her homework. (Thomas Alva Edison) — Dif-tor heh smusma 🖖🏼 Довге життя Україна! ![]() Helmut Schütz ![]() The quality of responses received is directly proportional to the quality of the question asked. 🚮 Science Quotes |
yuvrajkatkar ★ Pune, Maharashtra (India), 2009-10-01 15:33 (5683 d 01:40 ago) @ Helmut Posting: # 4284 Views: 27,405 |
|
Dear Sir, I have read your Lecture notes regarding Sample size calculation for Intrasubject variability. but when we have information about Point Estimate, Intersubject variability and Power then how to calculate sample size? Please suggest me. — Best Regards, Yuvraj |
Helmut ★★★ ![]() ![]() Vienna, Austria, 2009-10-01 15:52 (5683 d 01:22 ago) @ yuvrajkatkar Posting: # 4285 Views: 27,576 |
|
Dear Yuvraj! ❝ […] but when we have information about Point Estimate, Intersubject variability and Power then how to calculate sample size? Is it possible that you are mixing up terms (see this post)? If you have data from a parallel study, you have the total (or pooled) variance. You may split the total variance into inter- (between) and intra- (within) subject variance only in a cross-over study. So there are some possibilities:
❝ we have information about […] Power You set power to an arbitrary value in sample size estimation. Power = 1–β, where β (or error type II) is the producer’s risk of missing demonstration of BE in a given study for a product which actually is bioequivalent. This risk is generally set to 10–20% (power 80–90%). — Dif-tor heh smusma 🖖🏼 Довге життя Україна! ![]() Helmut Schütz ![]() The quality of responses received is directly proportional to the quality of the question asked. 🚮 Science Quotes |
yuvrajkatkar ★ Pune, Maharashtra (India), 2009-10-01 19:13 (5682 d 22:01 ago) @ Helmut Posting: # 4286 Views: 27,502 |
|
Dear Sir, I have read the sample size calculation formula for parallel design. I have one query regarding parameter Theta Theta=(muT-muR)/muR is it a T/R ratio ? I need your guidance. — Best Regards, Yuvraj |
Helmut ★★★ ![]() ![]() Vienna, Austria, 2009-10-01 19:30 (5682 d 21:43 ago) @ yuvrajkatkar Posting: # 4287 Views: 27,744 |
|
Dear Yuvraj! ❝ I have read the sample size calculation formula for parallel design. Which one? Can you come up with a reference? ❝ I have one query regarding parameter Theta Theta (θ) commonly refers to the regulatory ‘goalposts’ or acceptance limits. For an acceptable difference (Δ) of 0.2 (or 20%) in the multiplicative model we get: θ1 = 1–Δ (80%), and θ1 = 1 – Δ (80%), and ❝ Theta=(muT-muR)/muR ❝ is it a T/R ratio ? No, this is the difference normalized to the reference. ![]() T = 95, R = 100 ⇒ –0.05 (ratio 0.95)T = 190, R = 200 ⇒ –0.05 (ratio 0.95)— Dif-tor heh smusma 🖖🏼 Довге життя Україна! ![]() Helmut Schütz ![]() The quality of responses received is directly proportional to the quality of the question asked. 🚮 Science Quotes |
yuvrajkatkar ★ Pune, Maharashtra (India), 2009-10-03 09:44 (5681 d 07:29 ago) @ Helmut Posting: # 4289 Views: 27,981 |
|
Dear Sir, Thanks a lot, Sir. Ok Please see the Chow and Liu Sample size formula for parallel design Suppose CV=.15 Assume n=32
n 32 32 32 Using this formula, I have got n= 2.001728, 3.028481, 5.913866 and using the below SAS code proc power; I have got n= 12, 10, 11 per group It means n=24, 20, 22 for parallel design Which one is the right answer? Edit: Reformated using BBCode (code); tabs substituted by blanks. Please see the Policy. [Helmut] — Best Regards, Yuvraj |
Helmut ★★★ ![]() ![]() Vienna, Austria, 2009-10-03 15:46 (5681 d 01:28 ago) @ yuvrajkatkar Posting: # 4290 Views: 27,230 |
|
Dear Yuvraj, ❝ Please see the Chow and Liu Sample size formula for parallel design Chow and Liu have published a lot; most of it useful, but sometimes doubtful. When I asked for a reference can you please come up with a complete one (authors, title, journal, page, year; if a book: authors, title, publisher, place, year). I'm not in the mood for searching. THX. I'm not gifted with Pairedmeans " for a parallel design?— Dif-tor heh smusma 🖖🏼 Довге життя Україна! ![]() Helmut Schütz ![]() The quality of responses received is directly proportional to the quality of the question asked. 🚮 Science Quotes |
yuvrajkatkar ★ Pune, Maharashtra (India), 2009-10-09 18:46 (5674 d 22:27 ago) @ Helmut Posting: # 4336 Views: 27,764 |
|
Dear Sir, MSE obtained from parallel study is pooled MSE. means Intra + Inter subject residual variance. Then can we use same formula of Intra-subject CV. CVintra=100*sqrt(exp(MSE)-1) where MSE=Intra + Inter subject residual variance. (i.e just one value obtained from WinNonlin (Final variance parameter workbook). Is it right, Sir? — Best Regards, Yuvraj |
Helmut ★★★ ![]() ![]() Vienna, Austria, 2009-10-10 12:51 (5674 d 04:23 ago) @ yuvrajkatkar Posting: # 4338 Views: 27,264 |
|
Dear Yuvraj! ❝ MSE obtained from parallel study is pooled MSE. ❝ means Intra + Inter subject residual variance. ❝ […] one value obtained from WinNonlin (Final variance parameter workbook). ❝ Is it right, Sir? You are right about the pooled variance and the formula. But WinNonlin's method (assuming equal variances) is flawed – even in the recent version of Phoenix/WinNonlin 6.0. For details see this thread. FDA mandates a t-test corrected for unequal variances in their guideline. Although the conventional t-test is quite robust against violations of this assumption, it is sensitive if the dataset is imbalanced (which is regularly the case in parallel studies). Applying the wrong test will be anticonservative, i.e., the patient’s risk is inflated to an unknown degree. For an extreme example see one of my lectures (slides 65-68). — Dif-tor heh smusma 🖖🏼 Довге життя Україна! ![]() Helmut Schütz ![]() The quality of responses received is directly proportional to the quality of the question asked. 🚮 Science Quotes |