I have a probability (prob) variable, created by myself for each observation. I want to generate a dummy wich takes values 1 o 0 (for each obs) with the probability that indicates the prob variable.
Related Posts with Using a probability variable to generate random dummy´s
Different output after using xtreg, fe using factor variables instead ofDear Statalist, I am currently doing research on the effect of water use restrictions on residentia…
Technical help on Variable categorizationDear all, I need your technical support on categorizing a variable for the case explained below. HH…
Macthing Geordinates by GroupHey, I have a dataset with geocordinates for each surveyed individual. I know want to match all ind…
How to justify the Panel Data Model with lagged independent variables ?Dear scholars, In my research, I am constructing two-panel models: one-First Differencing Model and…
Panel data:Hello, I am doing a panel data analysis with GINI index as the dependent Variable and Remittance as …
Subscribe to:
Post Comments (Atom)
0 Response to Using a probability variable to generate random dummy´s
Post a Comment