Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Techniques for analyzing the relationship between one (or more) "dependent" variables and "independent" variables.
0
votes
Optimal Alpha value in Ridge Regression
Instead of using ridge regression with a fixed penalization of your coefficients it would be better to use iterated adaptive ridge regression though, as the latter approximates L0 penalized regression … regression approaches. …
5
votes
Linear Regression with individual constraints in R
The fastest option (faster than the other solutions posted here) is to observe that nnls can be reformulated as a quadratic programming problem, and that when written as a quadratic programming proble …
0
votes
Calculating predicted probabilities for ordinal logistic regression
There is also polr in MASS that can fit the proportional odds cumulative logit model, which I like because you can show the fitted model easily using the effects package (for lrm and clm this is not t …
4
votes
Line of best fit does not look like a good fit. Why?
sums of squares of the perpendicular distance between each point and the regression line, sometimes this is referred to as Type II regression, orthogonal regression or standardized principal component … regression). …
8
votes
1
answer
237
views
Can MCP or SCAD penalized regression be rephrased as a Bayesian regression with a particular...
So given that the coefficients of a ridge regression with a squared L2 norm penalty corresponds to the maximum a posteriori (MAP) estimate of a Bayesian regression with Gaussian priors on the coefficients … and LASSO regression coefficients with L1 norm penalty to the MAP estimate of a Bayesian regression with Laplace priors on the coefficients, is there any known prior distributions in Bayesian regression …
22
votes
What are disadvantages of using the lasso for variable selection for regression?
:
because the coefficients will be highly biased, which is improved in relaxed LASSO, MCP and SCAD penalized regression, and resolved completely in L0 penalized regression (which has a full oracle property … The latter is in fact an option provided by all major regularized regression frameworks (e.g. glmnet, ncvreg, ordinis).
Hope this helps? …
2
votes
Offset in Logistic regression: what are the typical use cases?
I used a binomial GLM with a log(exposure) offset in this article.
I wanted to compare the proportion of stingless bee colonies that switched from building in a parallel fashion to a helicoidal fashio …
5
votes
How are fitted Poisson means constrained to be positive when the identity link is used in Po...
Stable computation of maximum likelihood estimates in identity link Poisson regression. Journal of Computational and Graphical Statistics 19(3): 666--683. …
1
vote
How to add self-defined regularization term in ridge regression?
I would just like to add that another way to take into account prior knowledge is to use either adaptive ridge regression or adaptive LASSO regression, where the lambdas with which you penalize your variables … In Bayesian terms, adaptive LASSO regression corresponds to assuming a Laplacian prior (exponential if nonnegativity constraints are imposed), whereas adaptive ridge regression corresponds to assuming …
2
votes
2
answers
2k
views
Minimum and maximum regularization in L0 (pseudo)norm penalized regression
L0-pseudonorm penalized least squares regression (aka best subset regression) solves $\widehat{\beta}(\lambda)$ as
$$\min_\beta \frac{1}{2}||y-X\beta||_2^2 +\lambda||\beta||_0.$$
where $||\beta||_0$ is … For LASSO regression, where we work with the L1-norm penalty $\lambda||\beta||_1$ I understand that (1) is given by $\lambda_1 = \max_j |X_j^Ty|$, but what would be it's value in case of L0-penalized regression …
24
votes
Why is best subset selection not favored in comparison to lasso?
In fact, the LASSO ($L_1$ norm penalized regression) is the tightest convex relaxation of $L_0$ pseudonorm penalized regression / best subset selection and so is uniquely defined (bridge regression, i.e … That being said, there are also efficient computational methods now to approximate best subset selection / $L_0$ penalized regression in a very stable way. …
2
votes
Maximum penalty for ridge regression
The other advantage of L0-penalized regression over ridge regression or LASSO regression is that it gives you unbiased estimates, so you can get rid of the bias-variance tradeoff that plagues most penalized … regression approaches. …
29
votes
Getting p-values for "multinom" in R (nnet package)
What about using
z <- summary(test)$coefficients/summary(test)$standard.errors
# 2-tailed Wald z tests to test significance of coefficients
p <- (1 - pnorm(abs(z), 0, 1)) * 2
p
Basically, this woul …
7
votes
Calculating the p-values in a constrained (non-negative) least squares
If you would be OK using R I think you could also use bbmle's mle2 function to optimize the least squares likelihood function and calculate 95% confidence intervals on the nonnegative nnls coefficient …
14
votes
1
answer
43k
views
R: test normality of residuals of linear model - which residuals to use
I would like to do a Shapiro Wilk's W test and Kolmogorov-Smirnov test on the residuals of a linear model to check for normality. I was just wondering what residuals should be used for this - the raw …