File tree Expand file tree Collapse file tree 1 file changed +9
-5
lines changed
Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -25,14 +25,18 @@ setwd("C:/data") # change working dir
2525
2626## Using simmsm command to generate data in the wording directory
2727``` R
28- simmsm(subjects = 2500 , tpoints = 10 , psi = 0.3 , n = 5 )
28+ simmsm(subjects = 2500 , tpoints = 10 , psi = 0.3 , n = 1000 )
29+ # 1000 datasets
30+ # 2500 subjects in each datasets
31+ # Each subject followed upto 10 time-points (say, months)
32+ # Causal effect (log-odds) is 0.3
2933```
3034| ** Parameter** | ** Description** |
3135| ----------------| ------------|
32- | * subjects* | Number of Subjects in each simulated dataset: |
33- | * tpoints* | Maximum number of time-points each subjects are followed: |
34- | * psi* | Causal effect parameter for Marginal Structural Model: |
35- | * n* | Number of simulated datasets an user wants to generate: |
36+ | * subjects* | Number of Subjects in each simulated dataset |
37+ | * tpoints* | Maximum number of time-points each subjects are followed |
38+ | * psi* | Causal effect parameter for Marginal Structural Model |
39+ | * n* | Number of simulated datasets an user wants to generate |
3640
3741### Author
3842* Ehsan Karim :octocat: (R porting from SAS)
You can’t perform that action at this time.
0 commit comments