Displaying 8 results from an estimated 8 matches similar to: "negative binomial regression, unbalanced panel"
2013 May 10
1
PGLM Package: Starting Values for Within-Model
I am currently using the PGLM package and I would like to implement a
within-model. Unfortunately, I do not succeed as I am not a big expert in
panel regression.
I am using the example data set from the PGLM package:
library(pglm)
data('Unions', package = 'pglm')
anb <- pglm(union~wage+exper+rural, Unions, family=binomial('probit'),
model="within", method =
2013 Oct 17
0
Singular Matrix 'a' in solve
Hi,
I have a set of matrix data named “invest” consists of 450 observations (75
countries, 6 years) with 7 variables (set as I, pop, inv, gov, c, life, d;
which each is “numeric[450]”). The procedure is modify from code provided
by B.E. Hansen at http://www.ssc.wisc.edu/~bhansen/progs/ecnmt_00.html.
*Then the variable is being transformed to*
y <- lag_v(i,0)
cf <-
2013 Apr 24
1
pglm package: fitted values and residuals
I'm using the package pglm and I'have estimated a "random probit model".
I need to save in a vector the fitted values and the residuals of the
model but I can not do it.
I tried with the command fitted.values using the following procedure
without results:
library(pglm)
m1_S<-pglm(Feed ~ Cons_PC_1 + imp_gen_1 + LGDP_PC_1 + lnEI_1 +
2010 Jul 15
1
Warning message in summary of PGLM
Dear Sir,
When requesting the summary of pglm analyses in R, I encounter repeatedly
the following warning message:
"Warning message:
In pf(Fstat, object$k - 1, object$n - object$k, ncp = 0, lower.tail = FALSE,
:
full precision was not achieved in 'pnbeta'"
This message appears both with the pglm estimate of Lambda and with Lambda
set to 0.
Could you tell me what
2013 May 17
0
n in pglm() and relogit()
Dear all,
How do I obtain the number of countries that my panel models estimated by
pglm() and relogit() (the latter one is in the Zelig library) use? I
couldn't find any information on that in the help files.
Thank you very much in advance.
Best wishes
2010 Aug 13
1
Panel regression for zero-inflated count data with over-dispersion?
Hi,
my first email, I hope I don't violate any rules.
I want to run a panel (cross-section-time-series) regression with
fixed effects. I have count data (patent citations) so a Poisson
distribution applies. But I also want to control for over-dispersion
and and excess zeros. I think I read all manuals of potentially
helpful packages but I could not find a way to realise this. The
closest I got
2017 Mar 22
3
GLM con clusters
Gracias a todos por sus respuestas, perdón si no fui muy claro.
Lo que intento replicar es un análisis realizado en Stata, tengo que hacer
los mismos cálculos pero en el r.
En Stata lo que se hizo fue:
xi: logistic i.coord i.v11_sexo, vce (cluster red)
*Vce (cluster clustvar) especifica que los errores estándar permiten la
correlación intragrupo, relajando el requisito habitual de que las
2010 Jul 18
6
CRAN (and crantastic) updates this week
CRAN (and crantastic) updates this week
New packages
------------
* allan (1.0)
Alan Lee
http://crantastic.org/packages/allan
Automates Large Linear Analysis Model Fitting
* andrews (1.0)
Jaroslav Myslivec
http://crantastic.org/packages/andrews
Andrews curves for visualization of multidimensional data
* anesrake (0.3)
Josh Pasek
http://crantastic.org/packages/anesrake
This