instruction stringlengths 9 38.7k |
|---|
I have 1 dependent variable (a type of behaviour) and 5 independent variables. The independent variables all have statistically significant positive correlations with the DV (p<.01). However, I conducted a regression analysis and only one of the independent variables is now statistically significant.
After reading som... |
I have done some clustering to a matrix with 30 random variables , each variable has 13000 observations ). i got 10 clusters
and now i need to test how good the clustering is by calculating the variance in each cluster.
does anyone knows how can i calculate the variance?
i can easily calculate the variance of each colu... |
I have data on patients before and after an intervention, half have the treatment, half did not. A paired t-test seems a simple way to determine if there is a significant difference after treatment in either group. However there are other variables that I'd like to adjust for, such as age. Could I use linear regression... |
My hypothesis states that "there would be significant differences among a, b, c and d group on the X measure." I used ANOVA to see the group differences which came out to be significant. After that I applied the Tukey test post-hoc to understand the comparisons further. However, I did not get significant group differen... |
As motivated by the recent change of the default model selection statistic in
the R's forecast package from AIC to AICc, I am curious whether the latter is
indeed applicable wherever the former is. I have a series of questions with this
respect and here is the first one.
I know that to replace AIC with AICc everywh... |
Consider a variable $Y$ (e.g., temperature). Suppose that we were able to estimate this variable each year for the past $N$ years using some type of model. This means we have access to annual estimated values for Y (denoted as $Y_1, \ldots, Y_N$) and associated standard errors $S_1,\ldots,S_N$. The goal is to produc... |
Is it possible to compare effect of variable on the survival time in the Cox model and in the Weibull regression model?
|
I am struggling at the moment with how to determine links between different sets of variables. I have data on land use/cover changes in a number of regions in a period of 20 years. They are all expressed in percentages of area surface changed. I have data on so called drivers of change (population change, employment le... |
Consider Henderson’s classic mixed model equations:
What is the nature of the weight matrix, S-1? I believe that this is composed of the covariance matrix, but at the same time it is diagonal. How can that work? If X is 100 X 5, then S-1 is necessarily 100 X 100. However, the covariance matrix is 5 X 5. Does this... |
Given a sample path, we can roughly tell whether the mean changes over the time, and, when it doesn't, whether the deviation from mean changes over the time. (Correct me if I am wrong.)
But that is not enough for telling if the process is stationary (here, stationarity is defined in terms of the first and the second m... |
I understand how to use the box cox transformation in R and how to get the graph and lambda.
These are the things that are confusing me. For simplicity assume this example:
Weight = Gender + Height + Age + Income
gender = categorical variable 1 = male, 0 = female
continuous variables - weight, height, age, income.
... |
It was suggested to me recently that the significance of an interaction term in a glm has to be higher than a main effect. For example, p<0.05 is commonly thought of as significant for a main effect but a two-way interaction has to be higher (p<0.025 or something) and a three-way even higher. However, I can't find any ... |
I'm working with an array of size 265 x 5000.
Each column is a time series and the rows are points in a series of volumes
( voxels in fMRI ).
I preprocessed this data in several ways, most of which have some sort of filtering mechanism.
My task is to compute the correlation coefficient between all voxels, compute a T t... |
I am looking for a way to find an optimal value among several combinations of values.
The data looks like this:
N V MDO MLO ERROR
1231 50.0 4.0 0.010 0.143
131 10.0 8.0 0.002 0.150
1319 40.0 4.5 0.050 0.150
13410 20.0 9.0 0.025 0.146
5231 50.0 3.5 0.010 0.148
.. .. ... |
Is there a white noise which is not ergodic?
How is the ergodicty of a white noise tested?
Thanks!
Note: A white noise is defined as in Time Series: Theory and Methods
By Peter J. Brockwell, Richard A. Davis:
Definition 3.1.1 . The process $\{ Z_t \}$ is said to be white noise with mean $0$ and variance $\sigma^2$ , ... |
So I have a series of non-linear equations which I wish to solve as fast as possible, to illustrate for the case of $n = 4$, I have the following equations:
\begin{gather*}
c_0\exp(\lambda_0-1)+f\exp(\lambda_0 + \lambda_1 + \lambda_2 + \lambda_3 + \lambda_4 - 1) = 1 \\
c_1\exp(\lambda_0+\lambda_1-1)+f\exp(\lambda_0 + ... |
Let us say that we have this following problem:
"A government agency claims that more than 50% of US tax returns were filed electronically last year. A random sample of 150 tax returns for last year contained 86 that were filed electronically. Test the claim at $\alpha = 0.05$ significance level."
In this problem our n... |
Intuitively, how are Sparse Additive Generate Models (SAGE) by Eisenstein, different from Multinomial Dirichlet distributions. I understood that in this model distributions are added in logarithmic space. However, It is not clear why it can prevail over existing topic models. Does log space has any special characterist... |
This is an excerpt from the BBC website:
A recent study into speed dating habits concluded that if men and
women go to an evening and have 22 separate dates, men are keen to see
about five women again, while women would only choose to see two
again, on average.
That means that for every offer a woman makes, she ... |
I have a technical question concerning calculating AICc for two possible models.
For the data set I am working with there are 12 subjects and 10 phases of the experiment. Two different models, a Gamma distribution and an Inverse Gaussian distribution were fit to the data of each individual subject for each phase. Usin... |
How do I calculate relative error when the true value is zero?
Say I have $x_{true} = 0$ and $x_{test}$. If I define relative error as:
$$\text{relative error} = \frac{x_{true}-x_{test}}{x_{true}}$$
Then the relative error is always undefined. If instead I use the definition:
$$\text{relative error} = \frac{x_{true}-x_... |
What book will teach the most rigorous way the regression analysis? I read as a mathematician myself, and now I have to improve my statistical skills to get a job. I would like to learn what kind of methods there are to measure how to fit model to data and why those methods work. I'm not afraid to work through proofs. ... |
I have a large aggregate market data set on wine sales in the U.S. and I would like to estimate the demand for certain high quality wines. These market shares were basically derived from a random utility model of the form
$$U_{ijt} = X’_{jt}\beta - \alpha p_{jt} + \xi_{jt} + \epsilon_{ijt} \equiv \delta_{jt} + \epsilon... |
Let's say I have a year's worth of magazine issues (January, February, March, etc), and I want to visualize the differences among them. The classic example of multidimensional scaling (MDS) would have a triangular matrix of subjective difference scores between each possible pair of magazine issues. MDS is then applied ... |
I am trying to classify the presence of a car in an image.For this purpose I have downloaded a Dataset containing the images of Cars.I need to know how to split this data-set into training,cross-validation and testing set.How to select which of the images to fall into what category(i.e. Testing Set or Cross Validation ... |
When is it preferable to use Maximum Likelihood Estimation instead of Ordinary Least Squares? What are the strengths and limitations of each? I am trying to gather practical knowledge on where to use each in common situations.
|
Can anyone provide a clear list of differences between log-linear regression and logistic regression? I understand the former is a simple linear regression model but I am not clear on when each should be used.
|
I've been reading about stratified sampling, 2-stage SRS sampling, and ratio estimation in finite populations and I have a question. When the ratio estimator is introduced, it seems that in order for it to perform well it is necessary that the population follows the following model (which I'll denote $\xi$):
$$y_{ij} =... |
I am about to receive a dataset for multivariate regression where we are trying to find $X\in\Re^{m\times n}$ such that it best fits the loss function $$\|AX-B\|_F^2$$ where $A\in \Re^{l\times m},B\in\Re^{l\times n}$.
For some other purposes, what I was wondering was, what are the typical proportions for $A,X,B$ in mos... |
I heard that $AR(1)$ can be written as $MA(\infty)$.
Can $AR(p), p \in \mathbb N, p \ge 2$ be written as $MA(q)$ for some $q$?
Thanks!
|
I divided my dataset into Test and Validation (50-50 split).
I ran glm function (link=binomial) on Test dataset and got the parameter estimates.
How do I score the Validation dataset based on these parameter estimates (beta) that I got from Test dataset. I know it has something to do with apply () but I am not sure. pl... |
Consider a finite set $A$. Let the sample space be $A\times A$. We have an unknown probability distribution $f$ on this sample space. Now this probability distribution has a "blocky" property, which I am going to explain.
Let a block be a function (not necessarily probability distribution) over the sample space $b_{(B,... |
I am doing master in statistics and I am advised to learn differential geometry. I would be happier to hear about statistical applications for differential geometry since this would make me motivated. Does anyone happen to know applications for differential geometry in statistics?
|
I was looking for an intuition for the perceptron algorithm with offset rule, why the update rule is as follows:
cycle through all points until convergence:
$\textbf{if }\, y^{(t)} \neq \theta^{T}x^{(t)} + \theta_0 \, \textbf{ then}\\\
\quad \theta^{(k+1)} \leftarrow \theta^{k} + y^{(t)}x^{(t)}\\
\quad \theta^{(k+1... |
Given the following data: $102, 40, 27, 108, 124, 113, 143, 100, 115, 128$
If $\sum_{i=1}^{10} X^2 = 112600$, what is the sample variance?
The correct answer is $1400$.
However, when I tried calculating in Excel, I got an answer of $34,047,397$.
I took each $X$ value, squared it, subtracted the mean of $112,600$, took ... |
I am going to improve my code to the Exponential smoothing I submitted to Statsmodel which can be found here. The code handles 15 different variation Standard Exponential Smoothing models including Holt-Winters, SES, Brown, Holt, and Damped models.
I have several questions what are State Space Models and Error correcti... |
In a Pick 3 lottery three numbers are drawn from three separate sets of numbers, between 0 and 9.
Matching 2 winning numbers, one of them duplicated, can be done in 3 ways, according to all lotteries websites.
But I found 18 ways to do it.
As an example:
If the winning numbers are 1 2 3, then there are 18 possible ways... |
Has anyone heard of 1-step Chow test? I've searched the keyword "1-step chow test" in Google but can not find any hits. What's the formula of this test?
|
I did an experiment in which I group objects based on machine learning. I then tested whether people group them in the same way.
Each subject (I had 30 subjects) watches 8 sets of 3 objects. In each set, 2 of the objects are grouped together according to ML, and one is not (subjects are unaware of this). For each set, ... |
So I have a set of 9 x,y values, and I need to find the gradient/slope of the data, AND its associated error.
Without the error, I would've used Excels LINEST function, but as the errors in my y values are large (no x value errors) I need LINEST to take these into account.
How would I do this?
Thanks!
|
I am looking at a mixed estimation model and like to understand how to get the variance from it. For context I am providing the models I like to mix below before I continue to the question on the mixed model variance.
The first model is given as: $\pi = x\beta+u$
where:
$\pi$ is the $n \times 1$ vector of CAPM equilib... |
According to wikipedia, in regression problems, consider 2 models, the F-statistic is $$F=\frac{(RSS_1-RSS_2)/(p_2-p_1)}{RSS_2/(n-p_2)}$$, where $p_1,p_2$ are the degrees of freedom of the 2 models respectively, $n$ is the sample size.
I can't understand $F$ intuitively, since I see that $F$ seems to be ratio between R... |
I am new to statistics and I have been doing some reading on ANCOVA lately. There is something that is slightly confusing me:
When motivating the use of the ANCOVA model, many of the resources that I have found on the web describe some experiment, where a one-way ANOVA yields that the categorical independent variable i... |
I know similar questions have come up a lot but I'm still confused on how to model interactions in GAM (using mgcv in R). In my analysis, my response variable has normally distributed residuals and the variable is related to three continuous variables.
My goal is to predict values of y over a range of values of the co... |
On p. 34 of his PRNN Brian Ripley comments that "The AIC was named by Akaike (1974) as 'An Information Criterion' although it seems commonly believed that the A stands for Akaike". Indeed, when introducing the AIC statistic, Akaike (1974, p.719) explains that
"IC stands for information criterion and A is added so that... |
I'm selecting models using the information theoretic approach. I've just read that the AICc should be used to rank candidate models where the number of parameters in a model reaches 30% of the sample size. Is this a good benchmark to use when deciding to use AIC or AICc?
|
Suppose there is one independent variable (X) and a moderator (M), and both are continuous. The objective is to study the interaction effect of XM on Y. As X or M may have high multicollinearity with XM, therefore following is performed. X is centered, M is centered but however for XM, z-score is taken and then it is s... |
I have an idea for a lottery that is skewed in a fairly simple way:
The chance of winning is proportional to the square of each player's contribution, divided by the sum of the square of all players' contributions.
It might be expressed this way:
Chance of winning = contribution^2 /
(contribution1^... |
I have a dependent variable which is ordinal, so based on logistic distribution. I need to run ordinal regression, but I have ratio scale independent variables as well as categorical: so how can I run this technique? Is it suitable? If yes, then, in which software?
|
Supposing $\ X $ ~ $\chi_1^2 $ and $\ Y $ ~ $\chi_{10}^2$ and $\ X $ and $\ Y$ are independent. How would I calculate the probability that $\ X $ is bigger than $\ Y $?
I know that the ratio of $\ X/1$ and $\ Y/10$ would be $\ F$ distributed, but I don't know if that's helpful or not.
Can anyone help?
Thanks
|
I'm given a data set to run factor analysis on. The number of variables was greater than the number of cases so I had to decide which variables to remove. I did it looking at the correlation matrix, removing those variables who were too highly (almost totally) correlated. So here are a couple of questions:
1) What's th... |
What are the formulaic parameter estimates for the skew-normal? If you can, the derivation via MLE or Mom would be great too.
Thanks
Edit.
I have a set of data for which I can tell visually by plots is slightly skewed to the left. I want to estimate the mean and variance and then do a goodness-of-fit test (which is w... |
Consider we start with a specific Bayesian model, say an infinite mixture model with a Dirichlet Process as a prior. I know there are wildly many variants on this theme, from the Hierarchical Dirichlet Process, the Nested Dirichlet Process, the Transformed Dirichlet Process and other dependent versions that try to inco... |
I always think about the error term in a linear regression model as a random variable, with some distribution and a variance. So if the error terms come from this random variable, why do we say that they have a constant variance?
|
let $X,Y$ are two independent random variables Bernoulli with probability $P$. how can calculate $E(X^Y|X+Y=1)$
|
I was trying to understand the following result more intuitively (for linearly separable data):
$$ k \leq \frac{R^2}{\gamma_g^2}$$
where:
k = is the number of mistakes the perceptron algorithm does
R = is the distance at which the data points are confined to.
$\gamma_g = \text{the smallest geometric margin for the curr... |
I have the following problem and I know I can solve it using PCA / SVD, I just can get to write it properly.
I have many sensors, each produces M = 3500 samples of a signal.
The signal of each sensor is a little different from the other.
I have N = 256 Sensors.
Now, I want to build a dictionary of those 256 Signals i... |
If I want to conduct a randomised study in 2 sites comparing two clinical treatment arms, and every site is expected to include 60-80 patients, is it acceptable to randomise every new patient with simple coin toss (one centralised scheme for all patients, regardless of site) or is some stratified randomisation more app... |
I was listening to a talk and saw this slide:
How true is it?
|
This is a very basic question, but I haven't been able to get an answer with my google-fu.
In the following sentences:
We regress W on Z
We performed a regression of W on Z
I'm unsure what of and on denote. Do I read that as:
$W \tilde{} \alpha + \beta Z + \epsilon $
or
$Z \tilde{} \alpha + \beta W + \epsilon $
|
My main goal is to compute cepstral coefficients in R from an ACF vector (Auto-Correlation function vector with discrete time-step). Correct me if I am wrong in terminology or whatever as I am not a statistician/signal-processor. My first question will be
Are the elements of an ACF vector i.e. the auto-correlation-coe... |
I am sampling a beta using a Gibbs sampling. It is variable selection model. So in different iteration of gibbs different covariates are included to the model (denoted by a variable selection indicator $\gamma$). However, this indicator have high variance ( this is because my covariates are correlated). I use: $\hat\be... |
Can someone please explain why clustered standard errors ensure that the error estimates of Pooled OLS results are appropriate?
|
Having come across this discussion I'm raising the question on the back-transformed confidence intervals conventions.
According to this article the nominal coverage back-transformed CI for the mean of a log-normal random variable is:
$\ UCL(X)= \exp\left(Y+\frac{\text{var}(Y)}{2}+z\sqrt{\frac{\text{var}(Y)}{n}+\frac{\t... |
I am trying to fit my multi-exponential model to some experimental data and I am using a simulated annealing algorithm. My objective function has so far been the sum of squares of the residuals:
$\sum_{i=1}^n (y_i - \hat{y_i})^2 = \sum_{i=1}^n e_i^2 \:\:$ ...(1)
However, it came to my attention that maybe I... |
I am confused why strict exogeneity must be violated when we have lagged time series variables. My understanding of strict exogeneity is that a variable must be uncorrelated with error terms in all periods. But isn't exogeneity always a necessary assumption for estimation? If $x_t$ and $u_t$ are uncorrelated, and $x_{t... |
I'm working on some code to find the inverse of a covariance matrix of arbitrary dimension. Obviously, the matrix will always be symmetric, and I think it's that fact that I need to take advantage of to make this easier, but am failing. Any advice other than brute force elementary operations and checks?
Thanks
|
I am using Stata to perform an ANOVA analysis. I would like to ask for help on how to arrange data. This is a texture analysis and I have four data sets (four different time points)
|
I have a Bayesian statistics homework question that I'm not sure of:
Running this in R, I got completely flat lines at 0 and 1 so I was thinking this meant that the success probability does not change with this particular prior. Can anyone shed some more light on this problem?
mu0 = 0
sig2_0 = 100
n = 10000
... |
Consider a simple example of $X_{i}$ be i.i.d uniform distribution on the interval $[\theta,\theta+1]$. By strong low of large numbers, I may conclude that
$$\overline{X}\rightarrow_{P} \theta+\frac{1}{2} $$
However, it is not so clear what is the pdf or cdf of $\overline{X}$ as I would have to do an $n$-dimensional in... |
Is it really important to normalize dependent variables in multiple regression or are there any exceptions?
My model is providing better results with more significant hypothesis when the DVs are not normalized (transformed). Will be grateful for the comments.
|
I want to find a way to convert the Likert scale to Pairwise (AHP/ANP) scale, because my questionnaire contains 30 criteria to compare, and making a pairwise questionnaire will contain (30*(30-1))/2 questions, which are very long to answer for the respondents.
Does anyone know how to deal with that? or any other metho... |
I'm trying to model football scores using the poisson distribution. I'm calculating a lambda for each team and then multiplying the probabilities of two poisson calculations to get the probability of a specific score.
e.g. poison(lambdaHome, 1)*poisson(lambdaAway, 2) to calculate the probability of a 1-2 result at the ... |
As an assumption of linear regression, the normality of the distribution of the error is sometimes wrongly "extended" or interpreted as the need for normality of the y or x.
Is it possible to construct a scenario/dataset that where the X and Y are non-normal but the error term is and therefore the obtained linear regre... |
I've a question here. Basically I have the mean and standard deviation of a variable (IQ). I want to find the probability that 8 out of 10 people randomly selected have IQ scores between 85.0 and 122.5.
I also have the following information worked out:
mean = 100
standard distribution = 15
n = 10
p = 0.7745
Should I... |
I have used SPSS Clementine in order to train a classifier, for this I have used a partition node with 2 parts(train and test),then using a c5-tree and cross-fold validation.
I did this because I think SPSS separates training data and does a 10-fold validation to build a best model and then test it by test data.
would... |
I am modelling the nights spent at hotels (count data) fitting a few predictors in the model.
I'd like to know how to calculate the expected number of zeros in this distribution, as I suspect that I should move to a zero-inflated Poisson distribution.
|
Let $U_1=(X_1,Y_1)^T,\dots,U=(X_n,Y_n)^T$ are i.i.d. copies of $U=(X,Y)^T\sim N_2(0,\Sigma)$ where
$$
\Sigma=
\begin{pmatrix}
\sigma^2 & \rho\sigma\tau \\
\rho\sigma\tau & \tau^2
\end{pmatrix}
$$
such that
\begin{equation}
\sum_{i=1}^n\min\{U_iU_i^T,c\}
\end{equation}
is invertible where $\min\{A,c\}$ represents the ... |
What would be the best way to handle autocorrelated residuals in my panel data analysis (Fixed Effects). What I've tried:
-Adding different regressors (no luck there), and besides the current model is theoretically and intuitively justified.
-Adding AR(1) term on the right hand side, will take away most of the autocorr... |
I am very new to R and statistics as a whole so this may be a very simple question. I am trying to carry out empirical orthogonal function (EOF) analysis of sea-level pressure (SLP) data to determine the amplitude of the North Atlantic Oscillation over time.
I have a matrix (1000,756), with 1000 years of winter mean SL... |
It's quite common to normalise different feature vectors so that they have the same mean and variance (usually (X-mean(X))/sd(X)), so that the changes in the smaller variables aren't swamped.
Is the same ever done for higher moments (skewness, kurtosis, ...), for data where those moments are extreme? If so, are there ... |
I have a set of $n$ events. Each event has $m$ variables. At least 1 event produces an observation. It is possible for several events to occur simultaneously.
E.g.
4 Events. 3 variables each:
$E_{11}=0.4, E_{12}=-0.3, E_{13}=-0.4, E_{21}=0.3, ... , E_{42}=-3.0, E_{43}=2.1$
produces $y_1 = -5$
Here all events occurred s... |
With all the media talk and hype about deep learning these days, I read some elementary stuff about it. I just found that it is just another machine learning method to learn patterns from data. But my question is: where does and why this method shine? Why all the talk about it right now? I.e. what is the fuss all about... |
This is continuing the discussion about the posterior probability densities and conjugate priors.
So, my posterior distribution over the parameters is defined as:
$$
P(w, \phi, \lambda | y) \propto P(\phi) P(w|\lambda) P(\lambda) \prod_{i}P(y|w, \phi, \lambda)
$$
Now, $\phi$ is the parameter that models the noise preci... |
All Drugs CASE CONTROL
AVG 11.07 7.88
ST DEV 3.58 2.95
# SUBJECTS 7399 3537
NM DRUGS
AVG 5.49 3
ST DEV 4.33 2.51
# SUBJECTS 6831 2507
Ho - Cases and controls are prescribed the same numbers of medication
alpha =.05
I've got some data like those above and I wis... |
I have used lasso logistic regression on some data and I have some non zero coefficients for some of the features.
I want to know based upon the coefficient values how do I rank the features?
|
I have a model with the continous variable(Y) that takes zero values. So, I am trying to use the limited dependent variable model (Two part/Heckman) , but I have binary endogeneous variables (two) ($X_1$ and $X_2$) also which I think are jointly determined. I am guessing now I have three probit (including probit part o... |
I am currently looking for a method to smooth values on a graph (composed of vertices and edges).
For example I have a graph with a set of nodes V and I want to be able to smooth it. I could have values on the edges, the problem would be the same using dual graph I guess.
I am looking for equations I could use, given ... |
I can see why you might not use a more powerful method, such as the Hochberg method, over the Bonferroni correction, as they may have extra assumptions, such as the independence of hypotheses in this case, but I don't understand why you would ever use the Bonferroni correction over Holm's sequentially rejective modific... |
I am interested in calculating the power for the beta effect size, for example
Call:
lm(formula = log1p(y) ~ x)
Residuals:
Min 1Q Median 3Q Max
-0.5684 -0.1881 -0.0413 0.1494 1.2312
Coefficients:
Estimate Std. Error t value Pr(>|t|)
(Intercept) 0.59725 0.02460 24.279 <2e-... |
I am performing (rare events) logistic regression analyses in R and want to test several categorical variables consisting of more than two classes. I understood that I can do this by using factor(). However, I am not sure what to do in case some, but not all categories are significant. Can I (1) just leave out the ones... |
We are trying to design a data repository for storing datasets, from many different sources, in such a way that they can easily be used in online data presentations.
This data repository will be part of a website that reviews, interprets and discusses scientific reports and data on public health. It is targeted at scie... |
In studying Kullback–Leibler distance, there are two things we learn very quickly is that it does not respect neither the triangle inequality nor the symmetry, required properties of a metric.
My question is whether there is any metric of probability density functions that fulfil all the constraints of a metric.
|
I implemented AVAS on my data in R.
$y = \text{weight}$,
$x =$ matrix with several predictors, e.g. age, height, gender.
From what I understand, AVAS estimates transformations of $x$ and $y$ such that the regression of $y$ on $x$ is approximately linear with constant variance.
I followed the help file and did a plot... |
I calculated the least-squares means and standard errors for a linear mixed model. I am attempting to plot the lsmeans and standard errors for the combinations of the two factors, but I notice a discrepancy in what is allegedly significant.
> library(lmerTest)
> print(summary(data_dist))
ID interface dire... |
I'm in the process of planning a scale development project and stuck with a question:
I have two constructs that will each form an axis of a matrix. Both constructs can correlate and can be related, but don't need to. They don't form a total score together at the end. I will use a scale for each construct to determine ... |
How do you calculate the McFadden's pseudo-$R^2$ using the cv.glmnet object from the glmnet package?
The deviance.glmnet function extracts the deviances, but I need the null (intercept-only) likelihood and the likelihood for the model with lambda that minimizes the cross-validated error.
Here's my code for running glmn... |
I found three websites which lists the times of sunrises and sunsets in the place where I live. But as those times differ occasionally some minutes, I would like to know if there is a method to find out which one is the most correct prediction. I heard that statistics provides some methods to compare models but on the ... |
I checked all the books and on-line materials I could find for the proof, but found all of them have a derivation problem, which I cannot understand.
To prove the least squares estimator is the $BLUE$ for the linear model $y = X*\beta + v$, one assumes $c = C*y$ is any linear unbiased estimator of $\beta$. Using the f... |
I am fitting a Case-Cohort Proportional Harzards (CCH) model using the Survival (version 2.37-4) package in R 2.15.3. Normally with a Cox Proportional Harzards (coxPH) model, I can use the survfit function to predict the probability of a new patient being survival free at a specific time point; however, there is no sur... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.