I have a dataset which contains 18 quarterly datasets from the Labour Force Survey which have been merged together for me to conduct data analysis. There are around 25000 observations and 21 variables. I wish to run panel regression as the data is from a combination of countries in the UK so this would be most accurate. However, when I try using the command 'xtset panelvar timevar' the error 451: repeated time values within panel is returned. I have tried using different panelvar however the same result is always returned. I have gathered that the reason for this may be that there are more than one panelvar timevar combinations in my dataset however I cannot figure out how to solve this problem.
Related Posts with Error code 451: repeated time values within panel when trying to declare data to be panel data
cleaning the dataset for diff and diff modelHi, I have the following unbalanced data. I want to clean my data to apply simple diff-in-diff model…
Filtering in StataI have been trying to look for Stata equivalent of this SPSS filter creation " USE ALL. COMPUTE filt…
Measuring dynamicsHello, I'm doing a relatively simple analysis for a large group of banks for years 2011-2020. In pa…
Replacing missing values by matching them with a different observationDear all, this is my first post and I have recently been using STATA for operations beyond the basi…
One line code for performing arithmetic operation (here division) for multiple variablesExchange rate CPI.dta Here is the dataset and I want a proportionate values for all countries divide…
Subscribe to:
Post Comments (Atom)
0 Response to Error code 451: repeated time values within panel when trying to declare data to be panel data
Post a Comment