Hello Everyone,
Again a very basic question.
dataex:
v1 v2 v3
1 12 1
1 13 2
1 15 3
2 13 4
2 14 5
2 16 6
2 17 21
2 19 22
3 12 23
3 13 24
3 17 25
1 12
1 15
2 13
2 17
2 19
3 12
3 13
3 17
In above data example, how can I replace missing values of v3 based on values which are not missing. For example, missing value of v3 where v1=1 and v2=12 should be replaced with 1 based on first observation (where v1=1, v2=12 and v3=1 is given). I want to replace all missing values in one go.
Best
Amit
Related Posts with Replace missing values of a variable based on another previous values
Repeated Measures ANOVA test without Greenhouse Geisser and Huynh-Feldt P-valuesArray Array Good Afternoon, I am hoping someone is able to help. I'll try and be as concise as possi…
Download files from FTP server with login and passwordHi, I would like to know if it is possible to download files from an FTP server with login and pass…
How to identify same child in two rounds of Survey Data?Hi, I working with a panel data comprising of two rounds- 2005 and 2012. I want to keep the same ch…
Module for stacked area graphsHi, For my research I spend a lot of time looking at trends in the distribution of categorical vari…
Display multiple ROC curves in one graph using roctabHi everyone, I am performing multiple empirical ROC analysis stratified for sex. I would like to di…
Subscribe to:
Post Comments (Atom)
0 Response to Replace missing values of a variable based on another previous values
Post a Comment