Hi guys,
i have a set of data (n=586) with 2 variables. in some of the variables i have 2 to 3% missing values. what is the code to replace the missing data by mean or median for all variables at once.
thanks in advance
abdelilah
Related Posts with replacing missing data with mean or median
Time and Country Fixed Effects in Panel Data Estimation (OLS and PPMLI am doing a regression taking 34 countries for the time period 2010-19. It is a gravity model so th…
Confusion about create matching pair id for conditional logistic regressionDear Statalisters, I use -ccmatch- creating match pair of fdz (0 1) base on condition of (size0 ind…
From single event observations to time seriesHi everyone, As I am quite new to Stata hope you can help me out with the next question. Currently…
How to explain the results of t2way5 i.e. Tukey's Two-Way Analysis by MediansDear Stata users, Nick Cox had written a command named -t2way5- (SSC) to execute Tukey's Two-Way An…
Mundlak procedureDear all, When using the Mundlak procedure, if one wishes to include year fixed effects (i.e. a dum…
Subscribe to:
Post Comments (Atom)
0 Response to replacing missing data with mean or median
Post a Comment