How Stata Treats Missing Values

preview_player
Показать описание
Stata can sometimes confuse new users with how missing values are treated. This video will remove some of the mystery and help you understand some of the issues with missing values.
Рекомендации по теме
Комментарии
Автор

Your videos are so helpful. I am so grateful that I can watch them because they help me understand how to use STATA and the topics covered in my university stats class. Thank you so much from New Zealand.

rachngim
Автор

Hi Alan, thank you for posting this tutorial. You presented everything quite clearly. Much appreciated!

amyyacus
Автор

your channel is my go to channel for Stata questions. thank you so much for doing this.

shaoshuai
Автор

Thanks for this. I really appreciate the multiple examples. I am working on my dissertation and the internet has been the most helpful for me.

duvenc
Автор

E.X.C.E.L.L.E.N.T. Than you sooo much! All of my confusions were cleared up. It is great with these examples where you can actually see the data in columns so you see what is otherwise happening behind the scenes, so to speak.

uclalse
Автор

Hello Alan,
thank you for explaining how to treat missing values in stata. I didn't know the trick to write " " in order to still use that value even though it is missing. Can I use the same command for numeric values? I mean, if I have a missing number for x (in your data set for instance) could I put " " as well in order for stata to still use this variable? I have some missing numeric values in my data set but I do not want stata to "kick" them out, you know?
I hofe I could make myself clear, since I am not very good at handeling stata - especially the technical terms when they are not in my mother tounge, ....

hope to hear from you.
Sonja

sonjaweyers
Автор

Dear Alan
Thank you so much for this nice video.
I have a question.
I am running a logistic regression but do not want the state to exclude the cases where there are missing values in one or two vars. to overcome the "listwise deletion". How can I do that?
Also, I understand that I need to show that my file is missing at random, how can I show this?

Thanks a lot
Love your channel
All the best
Noam

noamhaviv
Автор

In order to execute a logit regression, how can I delete missing values by programming it if i cannot access directly into the dataset ?

victorcoronel
Автор

thank you so much for this videos. i have a question... in the data browser some variables' values appear in red and stata does not recognise the existence of the values that are there. how could I adjust for this? thank you

carlottapiantieri
Автор

Hi Alan,

I would like to destring a migrant variable which has 'blank' values and 'name' values. For instance, 'John Smith' would be an entry if there was a migrant in a household. I need to destring this and then recode it to 1 (if there is a name) and 0 (if it is blank, meaning there aren't migrants in the household). Can you show me the code asap? Thank you

anija
Автор

Sorry what can i do in case. for a numerical variable, the are blank spaces. how to remove this, please. thks

foss