[R]

Cesar Ortega cortega at unitec.edu
Tue Mar 25 12:50:11 CET 2003


Hi there,

Thank you in advance for your help.

I need to do the following:

1. Take one file from excell and one from SPSS and with the data 
calculate:

ESTIMATED N= SUM {1/PI(i)};  PI is the proportion
ESTIMATED T(Y)= SUM {Yi/PI(i)};  i belongs to the sample.

GINMi=[SUMi{(Yi/PI(i))*[1/PI(i)+SUMj(2/PI(j)]}]/[(2*ESTIMATED 
N*ESTIMATED T)].     i belongs to  M (1000,etc.) times, WHERE j=i+1

WE HAVE ONLY ONE VARIABLE Y, BUT WITH THE FIRST POSITION i AND THE
NEXT j, IN THE ASCENDING ORDER.

And last to get the errors as:

E1=  [SUMi {|GINP-GINMi |}]/[M] ; i belongs M

E2= SQRT[SUMi {|GINP-GINMi |}]/[M]; i belongs TO M

Thanks,

Cesar Ortega



More information about the R-help mailing list