Script to estimate power

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Script to estimate power

cbautista
Hi all,

I have the following structure data

a b c d
2 1 124 295
8 5 260 149
239 116 29 38
6 13 262 141
......

and I would like to calculate the corresponding power for two proportions
for an alpha=0.05.

I have over 30,000 records, so maybe somebody has a script to do so. it
would take several weeks/months to calculate the power for each record by
hand.

Thanks in advance,

/Christian

=====================
To manage your subscription to SPSSX-L, send a message to
[hidden email] (not to SPSSX-L), with no body text except the
command. To leave the list, send the command
SIGNOFF SPSSX-L
For a list of commands to manage subscriptions, send the command
INFO REFCARD
Reply | Threaded
Open this post in threaded view
|

Re: Script to estimate power

David Marso
Administrator
What do your four columns reprsent?
What would you do for each record if you had to do it by hand?
 

>Hi all,

>I have the following structure data

>a b c d
>2 1 124 295
>8 5 260 149
>239 116 29 38
>6 13 262 141
>......
>
>and I would like to calculate the corresponding power for two proportions
>for an alpha=0.05.

>I have over 30,000 records, so maybe somebody has a script to do so. it
>would take several weeks/months to calculate the power for each record by
>hand.

>Thanks in advance,
>Christian

Please reply to the list and not to my personal email.
Those desiring my consulting or training services please feel free to email me.
---
"Nolite dare sanctum canibus neque mittatis margaritas vestras ante porcos ne forte conculcent eas pedibus suis."
Cum es damnatorum possederunt porcos iens ut salire off sanguinum cliff in abyssum?"