I've been using Stata 17 for my research and after analyzing and cleaning I need to use R for a specific reason but when I'm using the following command to read the data , it drops a huge chunk of observations without following any pattern. Can anyone tell me is it the problem of stata 17 or there is any fault in my way coding to read the data in R ?
This is the following method of code I'm using to read the data created from stata 17 in R :
#
library(tidyverse)
library(readstata13)
dat <- as_tibble(read.dta13("edited treat.dta"))
#
Any kind advice would be much appreciated
Related Posts with Dropping a huge chunk of observation after making R read the data created from Stata 17
GOF of Logit Model: Pearson's chi2, Hosmer and Lemeshow's testHi everyone, I am using a logit model (attached below) to investigate the impact of minority status…
Questions about GMMHello, I'm a beginner in economitrics and statistics and I'm working on system GMM, sometimes I foun…
Seasonality in panel dataHi, I am working with panel data observations. Now, I have a question that could be sound silly. My …
Variables created after shp2dtaHi everyone, After I run 'shp2dta' to turn shape files into Stata data files, I notice I have some …
GOF of Logit Model: Pearson's chi2, Hosmer and Lemeshow's testHi everyone, I am using a logit model (attached below) to investigate the impact of minority status…
Subscribe to:
Post Comments (Atom)
0 Response to Dropping a huge chunk of observation after making R read the data created from Stata 17
Post a Comment