Displaying 20 results from an estimated 1200 matches similar to: "identical values not so identical? newbie help please!"
2009 Feb 18
2
indicator or deviation contrasts in log-linear modelling
I am fairly new to log-linear modelling, so as opposed to trying to fit
modells, I am still trying to figure out how it actually works - hence I am
looking at the interpretation of parameters. Now it seems most people skip
this part and go directly to measuring model fit, so I am finding very few
references to actual parameters, and am of course clear on the fact that
their choice is irelevant for
2009 Nov 10
3
Error: cannot allocate vector of size...
I'm trying to import a table into R the file is about 700MB. Here's my first
try:
> DD<-read.table("01uklicsam-20070301.dat",header=TRUE)
Error: cannot allocate vector of size 15.6 Mb
In addition: Warning messages:
1: In scan(file, what, nmax, sep, dec, quote, skip, nlines, na.strings, :
Reached total allocation of 1535Mb: see help(memory.size)
2: In scan(file, what,
2008 May 22
1
disaggregate frequency table into flat file
i appologise for the trivialness of this post - but i've been searching the
forum wothout luck - probably simply because it's late and my brain is
starting to go..
i have a frequency table as a matrix:
orig<-matrix(c(40,5,30,25), c(2,2))
orig
[,1] [,2]
[1,] 40 30
[2,] 5 25
i basically need a random sample say 10 from 100:
[,1] [,2]
[1,] 5 2
[2,] 0 3
i
2010 Jan 18
2
function to set log(0)=0 not working on tables or vectors
There must be a very basic thing I am not getting...
I'm working with some entropy functions and the convention is to use
log(0)=0.
So I wrote a function:
llog<-function(x){
if (x ==0) 0 else log(x)
}
which seems to work fine for individual numbers e.g.
>llog(0/2)
[1] 0
but if I try whole vectors or tables:
p<-c(4,3,1,0)
q<-c(2,2,2,2)
llog(p/q)
I get this:
[1] 0.6931472
2010 Aug 17
2
plotting functions of chi square
Hi! This is going to be a real newbie question, but I can't figure it out.
I'm trying to plot densities of various functions of chi-square. A simple
chi-square plot I can do with dchisq(). But e.g. chi.sq/degrees of freedom I
only know how to do using density(rchisq()/df). For example:
plot(1, type="n", xlab="", ylab="", xlim=c(0,2), ylim=c(0,7))
for (i
2009 Jun 08
2
ridiculous behaviour printing to eps: labels all messed up!
OK, this is really weird!
here's an example code:
t1<-c(1,2,3,4)
t2<-c(4,2,4,2)
plot(t1~t2, xlab="exp1", ylab="exp2")
dev.copy2eps(file="test.eps")
that all seems fine...
until you look at the eps file created, where for some weird reason, if you
scroll down to the end, the code reads:
/Font1 findfont 12 s
0 setgray
214.02 18.72 (e) 0 ta
-0.360 (xp1) tb
2009 Dec 03
1
count number of empty cells in a table/matrix/data.frame
Hi everyone!
This is a ridiculously simple problem, I just can't seem to find the
solution!
All I need is something equivalent to
sum(is.na(x))
but instead of counting missing values, to count empty cells (with a value
of 0).
A naive attempt with is.empty didn't work :)
Thanks!
Maja
Oh, and if the proposed solution would be to make all the empty cells into
missing cells, that is
2009 Jun 06
1
stars (as fourfold plots) in plot (symbols don't work)
Hi!
I have a dataset with three columns -the first two refer to x and y
coordinates, the last one are odds ratios.
I'd like to plot the data with x and y coordinates and the odds ratio shown
as a fourfold plot, which I prefer to do using the stars function.
Unfortunately the stars option in symbols is not as cool as the stars
function on its own, and now i can't figure out how to do it!
2017 Mar 26
5
[Euro LLVM] Unofficial beer before the conference
I like Tante Maja. I will call them and see if we can flood them. ;-)
I suggest dinner at 18:00?
Best,
Tobias
On Sun, Mar 26, 2017, at 04:08 PM, Bekket McClane via llvm-dev wrote:
> Hi, I’m one of the poster session authors, I’m also currently in
> Saarbruken
> All three places sound nice to me, but I’m not familiar with this town so
> maybe you can pick the place?
> About the
2007 Jun 23
2
Highliting a text in a plot
Hi everyone,
I want to highlight something in a plot.
So I want to write a text with a yellow background.
I tried to make use of text(x,y,"hallo",bg="yellow")
but that does not work.
I know I am a handful. Sorry!
Maja!
--
2009 Apr 20
4
automatic exploration of all possible loglinear models?
Is there a way to automate fitting and assessing loglinear models for
several nominal variables . . . something akin to step or drop1 or add1
for linear or logistic regression?
Thanks.
--Chris
--
Christopher W. Ryan, MD
SUNY Upstate Medical University Clinical Campus at Binghamton
40 Arch Street, Johnson City, NY 13790
cryanatbinghamtondotedu
"If you want to build a ship, don't drum
2004 Jan 29
2
Loglienar models
Hello,
I'm planning to start using R. Before getting into it, I'd like to
ask a couple of questions. Does R carry out loglinear model analysis?
That is, will it provide the chi-squared goodness of fit test statistic
for a given hierarchical loglinear model? Maybe even do a model
selection procedure (like Brown's two-step procedure, or
forward/backward selection)? Thanks
2017 Mar 26
3
[Euro LLVM] Unofficial beer before the conference
I’m going to travel with another person, so 2 people in total
Cheers,
Hsu
> Tobias Grosser <tobias.grosser at inf.ethz.ch> 於 2017年3月26日 下午4:16 寫道:
>
> We have a table reserved at Tante Maja, 18:00 for 15 people. I am travel
> with 5 other people, so 10 more spots are open. Please let me know
> within 30 minutes if you want a spot, such that I can confirm the
>
2010 Oct 15
4
Set value if else...
Hi
I want to set a variable to either 1 or 0 depending on an value of a
dataframe and then add this as a colum to the dataframe.
This could be done with a loop but as we are able to do questions on a
complete row or colum without a loop it would be sweet if it could be done.
for example:
table:
Name Age
Joel 24
agust 17
maja 40
and so on...
And what I want to do is a command that
2017 Mar 26
3
[Euro LLVM] Unofficial beer before the conference
Hi,
I've heard some people are in Saarbrucken and would like to go for a dinner
together.
I've found some places that should be good for groups:
Old Murphys
https://goo.gl/maps/aPXjfwJGSgS2
Tante Maja
https://goo.gl/maps/yF9Gij5qPoN2
Vapiano
https://goo.gl/maps/knK9edHPE1y
Is someone interested in meeting this evening (probably after 5:30)?
Piotr
-------------- next part
2011 Jan 19
3
question about result of loglinear analysis
Hi all:
Here's a question about result of loglinear analysis.
There're 2 factors:area and nation.The raw data is in the attachment.
I fit the saturated model of loglinear with the command:
glm_sat<-glm(fre~area*nation, family=poisson, data=data_Analysis)
After that,I extract the coefficients:
result_sat<-summary(glm_sat)
result_coe<-result_sat$coefficients
I find that all the
2017 Mar 26
2
[Euro LLVM] Unofficial beer before the conference
On Sun, Mar 26, 2017, at 04:23 PM, Piotr Padlewski via llvm-dev wrote:
> Hey Tobias,
> 4 spots for me and my folks. Thanks for taking care Tobias!
OK. We are down at 2 spots (maybe a little bit more)
Piotr 4 spots
Tobias 5 spots
Bekket 2 spots
Alex 2 spots
13 out of 15 spots taken. Let me know if you wanna join. I can try to
get some more spots.
Best,
Tobias
Best,
Tobias
2006 Sep 02
3
Dividing objects in classes using function sample()
Hello everyone,
I've a problem and dont know how to solve. This is my first posting and it would be fantastic if you could help me.
I want to divide n objects in k classes and need an output with all (n+1)(n+2)/2 possibilities.
For example n=4, k=3:
That would be:
4 0 0
3 1 0
3 0 1
2 2 0
2 1 1
2 0 2
1 3 0
1 2 1
1 1 2
1 0 3
0 3 1
0 2 2
0 1 3
2012 Jun 08
1
Fwd: How to best analyze dataset with zero-inflated loglinear dependent variable?
Dear netters,
Sorry for cross-posting this question. I am sure R-Help is not a
research methods discussion list, but we have many statisticians in
the list and I would like to hear from them. Any function/package in R
would be able to deal with the problem from this researcher?
---------- Forwarded message ----------
From: Heidi Bertels
Date: Tue, Jun 5, 2012 at 4:31 PM
Subject: How to best
2007 Aug 07
1
Functions for autoregressive Regressionmodels (Mix between times series and Regression Models) ?
Hello everybody,
I've a question about "autoregressive Regressionmodels".
Let Y[1],.....,Y[n], be a time series.
Given the model:
Y[t] = phi[1]*Y[t-1] + phi[2]*Y[t-1] + ... + phi[p]*Y[t-p] + x_t^T*beta + u_t,
where x_t=(x[1t],x[2t],....x[mt]) and beta=(beta[1],...,beta[m]) and u_t~(0,1)
I want to estimate the coefficients phi and beta.
Are in R any functions or packages for