similar to: GLM question

Displaying 20 results from an estimated 700 matches similar to: "GLM question"

2012 Jan 06
3
How to fit my data with a distribution?
Dear All, I have a bunch of data points as follows: x  100 y  200 z  300 ... where 100, 200, 300 are the values. I would like to know the distribution of my data? how can I fit my data into a distribution? Thanks a lot, Andra [[alternative HTML version deleted]]
2011 Aug 26
2
How to find the accuracy of the predicted glm model with family = binomial (link = logit)
Hi All, When modeling with glm and family = binomial (link = logit) and response values of 0 and 1, I get the predicted probabilities of assigning to my class one, then I would like to compare it with my vector y which does have the original labels. How should I change the probabilities into values of zero and 1 and then compare it with my vector y to find out about the accuracy of my
2011 Aug 20
2
a Question regarding glm for linear regression
Hello All, I have a question about glm in R. I would like to fit a model with glm function, I have a vector y (size n) which is my response variable and I have matrix X which is by size (n*f) where f is the number of features or columns. I have about 80 features, and when I fit a model using the following formula,? glmfit = glm(y ~ x1 + x2 + x3 + x4 + x5 + x6 + x7 + x8 + x9 + x10 + x11 + x12 + x13
2011 Aug 27
1
Grouping variables in a data frame
Hi All, I have a data frame as follow: user_id time age location gender ..... and I learn a logistic regression to learn the weights (glm with family= (link = logit))), my response value is either zero or one. I would like to group the users based on user_id and time and see the y values and predicted y values at the same time. Or plot them some how. Is there any way to somehow group them
2011 Sep 01
4
Question about BIC of two different regression models? how should we compare two regression models?
Hi All,  In order to compare two different logistic regressions, I think I need to compare them based on their BIC values, but I am not sure if the smaller BIC would mean a better model or the reverse is true? Thanks a lot,Andra [[alternative HTML version deleted]]
2011 Aug 11
1
Cv.glment question -- why giving me an error
Hi All,  I am trying to run cv.glmnet(x,y,family="multinomial", nfolds =4) and I only have 8 observations and the number of features I have is 1000, so my x matrix is 8 by 1000 and when I run the following, I get this error, I am not sure what is causing this problem.  Error in predmat[which, , seq(nlami)] = preds :   number of items to replace is not a multiple of replacement length Can
2011 Sep 07
1
Question about model selection for glm -- how to select features based on BIC?
Hi All,  After fitting a model with glm function, I would like to do the model selection and select some of the features and I am using the "step function" as follows:  glm.fit <- glm (Y ~ . , data = dat, family = binomial(link=logit)) AIC_fitted = step(glm.fit, direction = "both") I was wondering is there any way to select the features based on BIC rather than AIC? is there
2011 Aug 10
2
glmnet
Hi All,  I have been trying to use glmnet package to do LASSO linear regression. my x data is a matrix n_row by n_col and y is a vector of size n_row corresponding to the vector data. The number of n_col is much more larger than the number of n_row. I do the following: fits = glmnet(x, y, family="multinomial")I have been following this
2011 Aug 24
1
How to do cross validation with glm?
Hi All, I have a fitted model called glm.fit which I used glm and data dat is my data frame pred= predict(glm.fit, data = dat, type="response") to predict how it predicts on my whole data but obviously I have to do cross-validation to train the model on one part of my data and predict on the other part. So, I searched for it and I found a function cv.glm which is in package boot.
2011 Aug 25
1
How to combine two learned regression models?
Hi All, I have a set of features of size p and I would like to separate my feature space into two sets so that p = p1 + p2, p1 is a set of features and p2 is another set of features and I want to fit a glm model for each sets of features separately. Then I want to combine the results of two glm models with a parameter beta. For example, beta * F(p1) + (1-beta) * F(p2) where F(p1) is a learned
2011 Sep 08
1
Plotting question
Hi All,  I am plotting different lines in my graph and the problem I have is that if the first plot has smaller y value than the second plot, I will not be able to see the the top part of the graph. I do the following:plot(p1, avg="vertical", lwd=3, col="red", main ="all graphs")plot(p2, avg="vertical", lwd=3, col="pink", add = TRUE) where p1 and
2011 Sep 03
2
ROCR package question for evaluating two regression models
Hello All,  I have used logistic regression glm in R and I am evaluating two models both learned with glm but with different predictors. model1 <- glm (Y ~ x4+ x5+ x6+ x7, data = dat, family = binomial(link=logit))model2 <- glm (Y~ x1 + x2 +x3 , data = dat, family = binomial(link=logit))  and I would like to compare these two models based on the prediction that I get from each model: pred1 =
2011 Aug 11
1
Question about NULL matrix? Can I define a NULL matrix in R?
Hi All,  I would like to create a matrix in R but I dont know the size of my matrix. I only know the size of the columns but not the size of the rows. So, is there any way to create a dynamic matrix of size NULL by n_cols? and then add to that matrix? I know for a vector, I can do this: x= NULL but is there any way to do the same for a matrix as well? Thanks a lot,Andra [[alternative HTML version
2011 Aug 29
1
How to order based on the second two columns?
Hello All, I have a data frame consisting of 4 columns (id1, id2, y, pred) where pred is the predicted value based on the glm function and my data frame is called "all". "data" is another data frame that has all data but I want to put together some important columns from my original data frame (data) into another data frame (all) as follows and I would like them to be sorted
2020 Oct 17
2
Install Icecast server with SSL - please help
I tried that, but i'm not sure what´s supposed to happen after "make install" is done? Making install in examples make[1]: Entering directory '/home/pi/icecast-2.4.4/examples' make[2]: Entering directory '/home/pi/icecast-2.4.4/examples' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]:
2020 Oct 25
2
Socket is busy: Success?
Both icecast and ices are on the same server. Where shall i change to "localhost"? /Daniel Den sön 25 okt. 2020 kl 18:49 skrev Kwame Bahena <informatux at gmail.com>: > Is your icecast server in another server? > If not, if you are running ices on the same server as your icecast, try > using localhost instead of "bananradion.bananklubben.se" > > >
2010 Jul 26
5
FreeTDS (Microsoft MsSQL 2008) and CDR
Hi, I have Ubuntu server 10.04 64bit, and Asterisk 1.4.34, compiled from sources. I installed freetds-common,freetds-dev, libct4, libsybdb5, freetds-bin, but, when I run configure and then make menuconfig in section "Call Detail Recording" -> "cdr_tds" it's "disabled". It only writes that "Depends on: freetds(E)". On another server (same
2020 Oct 25
2
Socket is busy: Success?
tcp 0 0 0.0.0.0:8443 0.0.0.0:* LISTEN 8421/icecast2 tcp 0 0 192.168.1.159:8443 192.168.1.1:65003 ESTABLISHED 8421/icecast2 Den sön 25 okt. 2020 kl 18:42 skrev Kwame Bahena <informatux at gmail.com>: > Hello, > > What does the command > > sudo netstat -plant | grep 8443 > > say? > > Cheers, > -- >
2020 Oct 17
2
Install Icecast server with SSL - please help
No, I don't have centovacast.. i just want to use icecast with ices2. But icecast has to have ssl enabled. Den lör 17 okt. 2020 kl 13:55 skrev Marvin Scholz <epirat07 at gmail.com>: > Hi, > > the guide you followed is not really correct for the usecase you have > unless you use CentovaCast, which I guess you do not? > > On 17 Oct 2020, at 13:19, Bananradion wrote:
2010 Aug 25
1
ODBC Voicemail storage
Hi, I have a strange problem. I'm using Asterisk 1.4.xx with ODBC storage (FreeTDS -> Mssql 2008 database). Everything it's working fine, but sometimes I receive this error and Asterisk crashes. [Aug 25 13:25:13] WARNING[14032] app_voicemail.c: SQL Prepare failed![SELECT COUNT(*) FROM pbx_VoiceMail WHERE dir = '/var/spool/asterisk /voicemail/default/7002/INBOX'] [Aug 25