Hello
I am working on a panel data, my panel variable is the variable "yearctry",
let me explain what I mean, yearctry is calculated based on the year and the
ISD phone code of a country, eg, for the year 2000 say and for country USA
say (code = 001), my yearctry variable will then be 2000001, there are 2000
observations (ie 2000 individual responses with yearctry = 2000001), I have
65 different countries in the survey and time span from 2000-2008 ie 9
years.

My question is:

How do I make R recognise yearctry as my panel variable when I am running a
glm like the one below:

> glm(formula = s ~ age + gender + gemedu + gemhinc + es_gdppc +
    imf_pop + estbbo_m, family = binomial(link = "probit"))

What changes/additions do I make to this above probit regression command
such that the variable "yearctry" could be passed/assigned as the panel
variable?

Kindly help
Thanks in advance
Saurav

-- 
Dr.Saurav Pathak
PhD, Univ.of.Florida
Mechanical Engineering
Doctoral Student
Innovation and Entrepreneurship
Imperial College Business School
s.patha...@imperial.ac.uk
0044-7795321121

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to