Displaying 20 results from an estimated 3000 matches similar to: "glm questions --- saturated model"
2004 Mar 16
2
glm questions
Greetings, everybody. Can I ask some glm questions?
1. How do you find out -2*lnL(saturated model)?
In the output from glm, I find:
Null deviance: which I think is -2[lnL(null) - lnL(saturated)]
Residual deviance: -2[lnL(fitted) - lnL(saturated)]
The Null model is the one that includes the constant only (plus offset
if specified). Right?
I can use the Null and Residual deviance to
2010 May 03
2
question about the degrees of freedom
Dear R users,
I think i have a simple question which i want to explain by an example;
i have several 2-digit industry codes that i want to use for conducting by-industry analysis but i think there is a problem with the degrees of freedom!
for example, when i do my analysis without any 2-digit industry code, i got the following summary (i have 146574 observations in total):
>
2010 May 03
1
question about the degrees of freedom
Thank you for your advice, ill try to be more explicit now, i wasnt in the first mail because i thought it is a simple question to answer,
so; i have a panel data which contains 48858 observations during 3 year therefore, there are 146574 observations in total,
i have 22 different industries defined by 2-digit codes
such as 11, 13,14,16...40 therefore, ind_2d contains 22 2-digit codes
for
2011 Feb 16
1
Saturated model in binomial glm
Hi all,
Could somebody be so kind to explain to me what is the saturated model
on which deviance and degrees of freedom are calculated when fitting a
binomial glm?
Everything makes sense if I fit the model using as response a vector of
proportions or a two-column matrix. But when the response is a factor
and counts are specified via the "weights" argument, I am kind of lost
as far as
2007 Nov 22
1
how to build a saturated model for logistic regression?
Dear Listers,
Sorry for bothering you on Thxgiving.
I am just curious how to build a saturated model for logistic
regression or other kinds of regression.
Thank you so much!
wensui
2010 Jun 09
1
equivalent of stata command in R
From: saint-filth@hotmail.com
To: saint-filth@hotmail.com
Subject: RE:
Date: Wed, 9 Jun 2010 09:53:20 +0000
OK! sorry thats my fault,
here the translations of the stata commands
1st step is to get the mean values of the variables, well that doesnt need explanation i guess,
2nd step is to estimate the model on panel data estimation method
which is:
2010 Jun 09
1
equivalent of stata command in R
Dear all,
I need to use R for one estimation, and i have readily available stata command, but i need also the R version of the same command.
the estimation in stata is as following:
1. Compute mean values of relevant variables
. sum inno lnE lnM
Variable | Obs Mean Std. Dev. Min Max
-------------+--------------------------------------------------------
2012 Jul 12
1
easy way to fit saturated model in sem package?
Hi,
I am wondering if anyone knows of an easy way to fit a saturated model
using the sem package on raw data? Say the data were:
mtcars[, c("mpg", "hp", "wt")]
The model would estimate the three means (intercepts) of c("mpg",
"hp", "wt"). The variances of c("mpg", "hp", "wt"). The covariance
of mpg with
2014 Sep 23
1
Running the test fails virnetmessagetest with libvirt 1.2.8
Hello
I apologize in advance for my English.
I compiled the new version of libvirt 1.2.8 on an environment Development
Linux from Scratch with the following configure:
configure: Configuration summary
configure: =====================
configure:
configure: Drivers
configure:
configure: Xen: no
configure: QEMU: yes
configure: UML: yes
configure: OpenVZ: no
configure: VMware:
2010 Apr 08
1
plm package twoways effect problem
Hello everyone,
I have a peoblem to create the twoways effect in the plm package.
when i try to create the following
dsn1<-plm(lnQ~lnC+lnL+lnM+lnE+eco+RD,data=newdata,effect="twoways",model="within")
i have this error:
Error in rep.int(c(1, numeric(n)), n - 1L) : negative length vectors
are not allowed
and to be honest i have no idea what does it mean!! can someone
2011 Jun 17
0
[LLVMdev] RFC: Integer saturation intrinsics
On Fri, Jun 17, 2011 at 3:08 PM, Evan Cheng <evan.cheng at apple.com> wrote:
> Hi all,
>
> I'm proposing integer saturation intrinsics.
>
> def int_ssat : Intrinsic<[llvm_anyint_ty], [LLVMMatchType<0>, llvm_i32_ty]>;
> def int_usat : Intrinsic<[llvm_anyint_ty], [LLVMMatchType<0>, llvm_i32_ty]>;
>
> The first operand is the integer value
2010 Mar 29
1
plm package duplication problem
hi,
i am writing my master thesis and i am dealing with 146474 observations
(panel data), i have just learned the R so i am a beginner!!
i am trying to use the "plm" package and i have a duplication problem;
i have written the following commands to read my data and create my model
>dsn<-plm.data(ds, c("stno", "year")) ds=name of my data, stno=individual
2010 Apr 23
1
creating dummy with loop command
Hi Dimitri,
Thanks for help,
i knew that way that you have suggested but in fact my case is a little bit complicated than this,
therefore, i am writing a better explanation now,
my model is trying to see the effect of eco-innovative industries on total output, thats why i am trying to estimate by-industry regression:
the model is
lnQ~lnC+lnM+lnL+lnE+eco_inno+inno+(sum)ind_3d
capital,material
2011 Jun 17
5
[LLVMdev] RFC: Integer saturation intrinsics
Hi all,
I'm proposing integer saturation intrinsics.
def int_ssat : Intrinsic<[llvm_anyint_ty], [LLVMMatchType<0>, llvm_i32_ty]>;
def int_usat : Intrinsic<[llvm_anyint_ty], [LLVMMatchType<0>, llvm_i32_ty]>;
The first operand is the integer value being saturated, and second is the saturation bit position.
For scalar integer types, the semantics are:
int_ssat: x <
2011 Jun 17
2
[LLVMdev] RFC: Integer saturation intrinsics
On Jun 17, 2011, at 3:42 PM, Eli Friedman wrote:
> On Fri, Jun 17, 2011 at 3:08 PM, Evan Cheng <evan.cheng at apple.com> wrote:
>> Hi all,
>>
>> I'm proposing integer saturation intrinsics.
>>
>> def int_ssat : Intrinsic<[llvm_anyint_ty], [LLVMMatchType<0>, llvm_i32_ty]>;
>> def int_usat : Intrinsic<[llvm_anyint_ty],
2001 Oct 26
1
Bug or new concept in formatC?
As a sequel to my previous mail on cut, formatC does not produce
what I have been taught is significant digits:
> x <- c(1.0793,1.0796, 11.0954, 11.0736 )
> formatC(x,digits=3,format="g")
[1] "1.08" "1.08" "11.1" "11.1"
(3,3,3,3) significant digits OK
> formatC(x,digits=3,format="f")
[1] "1.079"
2007 May 11
1
Compilation of source package.
I have a samll package that works well and complies nicly on WinXP,
using R-2.4.1
Now I want to add a document so i make a folder inst\doc and put the
.tex and .pdf in there.
But the complation then crashes. Is this because the installin expects
some file to be present in inst if an inst folder is there?
This is how the thing progress is on my command promp:
2004 Apr 15
1
pretty for a log-axis
Is there a function that does the same as pretty but on a log-scale?
Suppose you have
x <- exp( runif( 100, 0, 6 ) )
(which will between 1 and 403), then I would like to have a result like:
log.pretty( x )
[1] 1 5 10 50 100 500
Bendix C.
----------------------
Bendix Carstensen
Senior Statistician
Steno Diabetes Center
Niels Steensens Vej 2
DK-2820 Gentofte
Denmark
tel: +45 44 43 87 38
2004 Nov 03
1
Building a package under WIN2000 / rw2.0
I have an odd problem in building a package with only R-code in it.
I have a package mainly used by myself which I last build under R
1.9.0.
The operation system is Win2000 5.00.2195, Service Pack 3
When I do:
c:\stat\r\rw2000\bin\Rcmd install --docs=normal --build
--library=c:\stat\R\bxc\library c:\stat\R\bxc\library.sources\xx
then after updating help pages I get:
preparing package xx for
2004 Nov 03
1
Building a package under WIN2000 / rw2.0
I have an odd problem in building a package with only R-code in it.
I have a package mainly used by myself which I last build under R
1.9.0.
The operation system is Win2000 5.00.2195, Service Pack 3
When I do:
c:\stat\r\rw2000\bin\Rcmd install --docs=normal --build
--library=c:\stat\R\bxc\library c:\stat\R\bxc\library.sources\xx
then after updating help pages I get:
preparing package xx for