what is individual risk measure rk? #47
leodecarlo
started this conversation in
General
Replies: 2 comments
-
Hi, besides the reference that was shared here: sdcTools/sdcMicro#350, it may be informative to go through the function descriptions in the R code in the sdcMicro package. This was helpful for me to exactly understand how all measures and methods are implemented. Some part is written in C++, but it's fairly straightforward to follow. The actual implementation may be more informative than the mathematical formula. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thanks,
I suppose you mean the github for development.
Leonardo
…On Fri, Jun 21, 2024 at 3:20 PM Thijs Benschop ***@***.***> wrote:
Hi,
besides the reference that was shared here: sdcTools/sdcMicro#350
<sdcTools/sdcMicro#350>, it may be informative
to go through the function descriptions in the R code in the sdcMicro
package. This was helpful for me to exactly understand how all measures and
methods are implemented. Some part is written in C++, but it's fairly
straightforward to follow. The actual implementation may be more
informative than the mathematical formula.
—
Reply to this email directly, view it on GitHub
<#47 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BBDPGBAUSPFFJLHBLDIDTEDZIQSDJAVCNFSM6AAAAABI6IOWFOVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4TQMZZHE3DQ>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I am reading the page here https://sdcpractice.readthedocs.io/en/latest/measure_risk.html#categorical-key-variables-and-frequency-counts .
In table 1, what is and how it is computed rk ? (I mean how I should get from the dataset with expliciti computations?)
print(head(sdcInitial@origData))
Residence Gender Educ Lstat Health Weights risk fk Fk
1 2 1 5 1 2 180 0.00542452 2 360
2 2 1 5 1 2 180 0.00542452 2 360
3 2 1 3 2 2 215 0.02509644 1 215
4 2 2 4 1 2 76 0.01256342 2 152
5 1 1 4 3 2 186 0.02824728 1 186
6 2 2 4 1 1 76 0.01256342 2 152
I don't get it from the tutorial up that point.
thanks
Leonardo
Beta Was this translation helpful? Give feedback.
All reactions