instruction stringlengths 9 38.7k |
|---|
I am confused how to calculate r-squared for the glmnet fits (LASSO, elastic-net etc). One of the ways I have seen is through the cvm corresponding to one of lambdas:
cvfit2 <- glmnet::cv.glmnet(datam, fundm,alpha=1,nfolds=10)
cf<-coef(cvfit2, s = "lambda.1se")
i<-which(cvfit2$lambda == cvfit2$lambda.1se)
e<-cvfit2$cvm... |
Assuming there is some nice $P(x, y)$ over $\mathbb R^n \times \{0, 1\}$, can we claim that: The expected accuracy of the optimal linear classifier trained on a large sample from $P(x, y)$ would not exceed 0.5 if and only if $$\mathbb E[x|y=0] = \mathbb E[x|y=1]$$?
I mean, something like:
$$ P \Big[\mathcal R_P(h^*) \g... |
I am doing a multiple linear regression analysis project, and my instructor told me that I shouldn't be fitting the simple linear regressions at all. Does that mean scatter plots and added variable plots and diagnostic plots do not matter for individual predictors? I know that I probably don't need to transform individ... |
I've currently created a plot using Python showing leverage vs residuals of some data. I want to plot Cook's Distance lines like shown in Case 2.
How would I go ahead with this?
|
I have two questions about regularization:
In the presence of high collinearity, ridge is better than Lasso, but if you need predictor selection, ridge is not what you want. In those cases, should you still use Lasso or is there any alternative (e.g., subset selection)?
Can you use regularization on every predictive m... |
Not sure if the title is correct phrasing, I'll try to explain.
Consider finite domain discrete probabilities for simplicity and illustration. The n-probabilities are contained on a (n-1)-simplex such that $p_1+\dots+p_n=1$. What is the terminology of the most general operator that maps a simplex to a simplex? (That is... |
On page 82 in Mostly Harmless Econometrics, there is a formula for the average treatment effect on the treatment, using propensity score, that is
$$\tag{1}
E(Y_{1i} - Y_{0i}\vert D_i =1) = E\bigg[\frac{(D_i - \rho(X_i))Y_i}{(1-\rho(X_i))P(D_i=1)}\bigg]
$$
where $\rho(X_i) = prob(D_i=1\vert X_i) =E(D_i\vert X_i)$ is the... |
I am using a GAMM to model my data (this is as far as I know the only way I can use the negative binomial distribution AND a correlation structure within the model).
I measured animal detections (including zero detections) per hour at 3 different locations in an area. location is a factor in my model and the other pos... |
Suppose we are building/testing a fraud detection model for a specific credit card/ or a quick cash loan business. We have a lot of data to play with (say past 5years), and after careful preprocessing, model selection, and parameter-tuning, we build a good model to detect/prevent fraud. We thought we did a superb job. ... |
I am analyzing time series data with 'Arima' function in R.
As you know, to find optimum model, I have tried lots of cases.
But, I am tired of finding and analyzing cases in person.
So, I decided to run it automatically.
And I made a command(or algorithm. whatever.) and ran it. But, I confront with this problem.
"E... |
I am wondering the difference between them. Basically they do the same job at the end finding coefficients of parameters, but they look just different the way we find the coefficients. To me, Least square method seem to use differentiation and matrix form to find the coefficients and Pseudo-inverse seem to use matrix m... |
In one of the slides from my class related to bayesian linear regression, I have the following scenario.
Under g-prior, the shrinkage estimator induced by the prior is $$\hat{\beta_{\alpha}} = \alpha\hat{\beta}$$
now it states that the value of $\alpha$ that minimizes the mean squared error (conditioned on $\beta$ and ... |
This is my first time posting on this site so please excuse me if I am not following certain rules or guidelines specific to this forum.
I have a data set on a training program and I want to see whether equally skilled people are paid the same or their demographic influences their future earnings.
Variables:
assignmt:... |
I am unsure how to interpret the significance of a paired test.
I have data for six days of the week; for each day I have relevant data for 11 hours minutewise. I want to determine, whether a trait 'A' is more common on different days.
Both, the total number of observations N as well as the number of observations of t... |
In Neural Networks the bias term of the hidden units can be considered a threshold for the node to fire. This is how neurons basically work in the brain as well. In RBMs, also a bias for the visible layer exists. How can this bias be interpreted and what purpose does it serve?
|
I am currently working on non intrusive water (consumption) monitoring. I got time series data of flow rates at a level of 0.5 Hz (1 measurement at every 2 seconds) for a time span of about half a year. Detecting single extractions like a toilet flush is quite simple. However, I also want to detect water consuming appl... |
I carried out PCA on a dataset, only for someone to point out to me that there is an inherent assumption of normality for this method.
When I checked to see if my data was Gaussian using the lillietest function in Matlab, only 2 of my 20 columns returned a zero...meaning that for 18 of them the null hypothesis ("the da... |
I'm trying to forecast items, which are extremely seasonal. E.g. I'm trying to forecast seasonal Fruits (like fresh Oranges which available only in winter).
The issue with these data, for each year I've 3-6 months of data only.
My question is if someone can suggest me some methodology on how to forecast in these cases.... |
I am checking for a mediation effect using the process plug in in SPSS.
I have 3 covariates included in addition to my IV,DV and Mediator.
In the output i receive from SPSS i can see the effect sizes while all three covariates are controlled. My question is- How do i know the effect of each covariate. How do i know the... |
Weighted least square seems to be a special case of Generalized Least Square. If we have generalized least square technique why do we need to apply weighted least square? or do we call them interchangeably?
|
I'm performing linear regression to predict house prices. My dataset has close to 2,000 observations. My model has over 50 variables. I'd like to know how I can tune hyperparameters like, L2 regularization, and degree of polynomial used in the objective function. I'm aware only of k-fold cross validation to perform thi... |
I'm reading up on PCA, and I'm understanding most of what's going on in terms of the derivation apart from the assumption that eigenvectors need to be orthogonal and how it relates to the projections (PCA scores) being uncorrelated? I have two explanations provided below which use a link between orthogonality and corre... |
It is clear that the first principal component is the vector which is the closest to the data, but can someone prove why the first two principal components span a plane that is the closest to the data?
|
Consider the classical example of a random variable obtained by rolling two (fair) dice - the sum can take values between 2 and 12, where 2 and 12 have a probability of 1/36 and, for example, 7 has a probability of 6/36 to be drawn.
What is now precisely the (whole) population in this example - all 36 possible experim... |
I have a count data set that I intend to regress on. The obvious choice is to use poisson regression. One of the assumption is then that the variance is the same as the mean. So the questions are:
Do we compare the mean and var for observed response? do we compare the mean and var for the estimated response from our r... |
Now I'am studying a gaussian process.
Recently, I wondered that whether covariance function which made by kernel function can express any arbitrary covariance matrix or not.
My question is:
Is composition of kernels be able to represent any arbitrary covariance matrix?
|
I'm doing a research using the idea of regression discontinuity design. What confuses me is that whether I should choose a bandwidth if I use an IV approach to estimate in a fuzzy RD. I know that it's necessary to choose a proper bandwidth when doing local linear or polynomial regression but what about IV?
It's my fir... |
How can I implement Gibbs sampler for the posterior distribution, and estimating the marginal posterior distribution by making histogram?
|
Okay,
I couldn't find the right phrase to use so let me explain what I mean with this question.
Lets say I build a logistic regression model for predicting the probability a customer will go rogue and stop paying his debt. Lets assume it is the best one you can build with the data I have and no further improvement with... |
We have an existing study of media consumption which is online and offline.
Online study: To measure consumption online, we use log data from web accesses and various other sources. We have reliable socio-demographic data for a big quantity of those online sessions (such as sex, location, household incomes and similar ... |
I am trying to investigate factors associated with disease in 2 different years (2013 and 2014) and would like to include year as one of the variables too.
Would the normal logistic regression approach work on such data?
Data sample provided where the values are arranged and coded as per year. x are continuous variabl... |
I have an experimental design as follows:
Three groups of cakes: treatment A, treatment B, control;
Three replicates per cake.
They are observed during 10 days for microbial growth.
My interest is in evaluate their resistance to microbial growth, that is, if they differ in the amount of microbial growth during the expe... |
I recently implemented the Gelman-Rubin diagnostic for mcmc convergence and I was testing it with diferent posteriors to find the point where the chain is sampling the target distribution. To do this I find the first time where the Gelman-Rubin statistic differ from $1$ by a given tolerance (tol_default = .5).
The tes... |
I am trying to analyse data from a questionnaire containing 24 items using a 2pl IRT. Responses are provided on yes-no format. How can I examine the assumption of monotonicity in IRT for binary data?
|
In the Wikipedia article on ANOVA, it says
In its simplest form, ANOVA provides a statistical test of whether or not the means of several groups are equal, and therefore generalizes the t-test to more than two groups.
My understanding of this is that ANOVA is the same as t-test when it comes to a two-group comparison... |
If I will analyze dummy-variables as the independent variable and interval/ratio data as the dependent variable using dummy-regression, do i need to meet some assumption before i analyze the data?
|
I have done a poisson regression on my data set and am now looking to investigate the model fit. I notice that the fitted values from predict() in r give me the pre exp transformed values. For diagnostic purposes, should I use the predict() values or the estimated response(a la type=response) to pair up with deviance, ... |
An exponential family is defined using two ingredients:
a base density $q_0(x)$
a number of sufficient statistics $S_i(x)$
The family is all probability densities which can be written as:
$$ q(x| (\lambda)_i ) \propto q_0(x) \exp \left( \sum_i \lambda_i S_i(x) \right) $$
It is well known that the relationship between... |
My predictions are far off the actual values, and I really do not understand what I am doing wrong. I have 20 dummy independent variables, and a continuous dependent variable. The dataset is small, 1000 points approx. The best result I got so far is using generalized linear regression, Poisson link function, and includ... |
Packages from my preferred software (Amelia and Zelig from R) give me estimates of a linear model after multiple imputation, but do not provide multiple R. Is there a way to calculate multiple-R from just the b coefficients? Below is the overall model provided through Zelig.
Estimate Std.Error z value Pr(>... |
I'm puzzeled how to programmatically (in R) solve the following linear system:
Given $\mathbf{R} \in \mathbb{R}^{n \times n}$, $\mathbf{R}^{-1}$, and a constant $c$ what is the solution to $\mathbf{u} \in \mathbb{R}^n$ with $\mathbf{u}^T = (u_1, \ldots, u_n)$ for
$\mathbf{u}^T\mathbf{R}^{-1}\mathbf{u} = c$
Lets take t... |
In Mostly Harmless Econometrics: An Empiricist's Companion (Angrist and Pischke, 2009: page 209) I read the following:
(...) In fact, just-identified 2SLS (say, the simple Wald estimator) is approximately unbiased. This is hard to show formally because just-identified 2SLS has no moments (i.e., the sampling distributi... |
I am running some simulations, it seems when I consider my data (multivariate residuals of a VAR model) happen to be observing an ARCH effect. However, when I split them into two dataset I failed to prove that either of them has ARCH effect. How come when I put both data set together the multivariate random variable mi... |
in text documents clustering when k-means using as base algorithm, and VSM is a matrix for doc-term weighted by tf-idf, what is the best metric can be used for select an optimal initialization points (seed points ) where clustering procedure starting from these points ?
|
I am analyzing survey results from three different countries. Survey utilized Likert scales and consisted of 5 constructs - independent variables such as "trust" and "social influence" (each construct consisted of 2-4 items on a 7 point scale; i.e. 16 items in total for independent constructs). I have then included que... |
I have two categorical variables with 4 different attributes. I want to check if these two categorical variables differ from each other (based on 4 attributes) using ANOVA in R. The example data is below:
values dims
-4.75 dim1PK
-5.69 dim1PK
-0.27 dim1PK
-2.76 dim1PK
-8.24 dim1PK
-12.51 dim1PK
-1.28 dim1... |
I've done some measurement of tissue rigidity. So I did 1.000 measures with healthy (n=300) and ill (n=700) people.
Now I want to find out if there is a significant different value of the measured tissue rigidity for the ill people compared to the healthy people. Otherwise this measure method would give no benefit.
My... |
I have been running a SEM in the lavaan package, testing how different specifications affect model fit etc.
My question is regarding the following issue:
I compared two models, one with 7 latent variables and one with 10 latent variables. The second also has a lot more paths between latent variables, so is more complex... |
I'm looking to compare the German and Spanish labour markets throughout the Great Recession and how the interactions with shocks and institutions effected their different labour market outcomes. I am going to be using the Blanchard and Wolfers Model (2000) with the dependent variables being the labour market institutio... |
The common way to summarize results in cross-validation is by taking the average of results of all folds.
But in case there is a deviation in the results of individual folds, can we use the results of a single fold?
For example, the MSE of a 3 folds CV are 4, .556, and .03. Can I use the least MSE of .03 as the final r... |
Similar questions have been asked before, e.g.
Back-transformation and interpretation of log(X+1) estimates in multiple linear regression
However, this question is a little different because (a) I'm interested in a transformed dependent variable only and (b) I'm trying to work out if the model allows me to predict va... |
I work in the microelectronics industry, and I commonly work with tools that remove material from the surface of a wafer. Furthermore, we typically measure the amount of material removed from a single wafer at multiple sites on the wafer (usually 10 - 20 sites). From this data, we calculate various statistics. For exam... |
I have some a couple of years of data that tracks the number of tickets opened per day for an internal call center. What is the best way to derive a trend for this data that accounts for the lower volume on weekends and company holidays?
I guess i'm looking for two things:
Retrospectively, how can i compare monthly v... |
I created a dataframe with 3 columns, feature_1, feature_2, and target, with the goal of having feature_1 and feature_2 predict the target. I standardized feature_1 and one-hot-encoded feature_2 (which has 100 categories and therefore creates 100 columns). I know for sure that feature_1 and target are correlated and so... |
I have to do an analysis in order to find the correlation between an agent questionnaire and a usability questionnaire both of which are using Likert scales. I only have 90 samples and 25 predictors so I need to reduce them; otherwise I'm overfitting my model, right? I was wondering what type of regression I should do.... |
I am running a Linear Regression Model about housing prices and certain macro variables. My model is as follows:
$$House Price_{t+1}=\beta_0 + \beta_1 rent_t+\beta_2 unemployment_t+\beta_1 volume_t+\beta_1 income_t+\beta_1 interest_t$$
I found out that Housing Prices (using Case-Shiller Price Index SA) are nonstati... |
I have non-normal data which are sampled from roughly 4 subjects at 4 dose levels. Is there a nonparametric test for trend I can use in SAS?
|
I'm trying to fit a Bayesian model. This model has many parameters (about 150).
I run MCMC (10000 iters) with a thinning period to avoid correlation problem and with the hope it would save me some time in terms of computation. So I obtain the sample that let me to compute Monte Carlo estimates. I knew that a proper in... |
I am working with a set of data where each individual has a continuous measurement for the left and right side of the body. I am interested in whether or not side has an effect on the measurement.
Would it be appropriate to use a mixed effects model where the 'measurement' is the response variable, 'side' the fixed var... |
I've been using a program that utilizes an HMM to predict the locations of gene coding regions on a DNA sequence. When writing about it, I want to make sure that I have the terminology correct.
The program has the ability to be trained for any species, and it also has been pre-trained for many well-known species. I wan... |
Given a set of $N=n_i+n_j+n_k$ draws from distributions $N(\mu_i,\sigma_i^2), N(\mu_j,\sigma_j^2), N(\mu_k,\sigma_k^2)$, what is the probability that the maximum drawn value was from distribution $i,j,$ or $k$?
|
I have two sets of counts, bat passes and feeding buzzes. A feeding buzz is not independent of a bat pass. In a single bat pass, there can be multiple feeding buzzes. My response variable is buzz ratio, number of feeding buzzes per bat pass so the ratio ranges from 0 to >1.
I have a light treatment (On, Control) that ... |
I am trying to launch a timing attack against strcmp function from the C standard library.
I wrote a program that takes a string as an input and compares it with its internal secret string. My aim here is to obtain some information about the secret string by running the program with different input values and measuring... |
When reading the paper of Efficient piecewise training of deep structured models for semantic segmentation, I am confused about the derivation in CRF training (section 6). In specific, I do not know how to get the gradient of partition function Z. What's the definition of Z, and how to derive its gradient as shown in t... |
I have 4 groups that identify different research field (animal, plant, microbe and insect). Scientists were asked to indicate in which group they belong and they were allowed to indicate more than one group - i.e. a scientist can be both in "animal" and "microbe". We then ask scientists a set of questions about time sp... |
This is a general question. Hypothetically, I have a polynomial regression model where year is a qualitative predictor with multiple classes, converted into binary dummy predictors. E.g., if I have data for years 2000 thru 2002, the qualitative predictor would be
\begin{align}
year =
\begin{cases}
0 & if \ 2000 \\
1 ... |
I am trying to understand the word2vec algorithm (Mikolov et. al) but there are a few thing which I do not understand.
I get that the activation from the input layer ot the hidden layer is linear and that $\mathbf{h}$ is just the average of the linear combination of all $\mathbf{x}_{ik}$ vectors. Further I understand t... |
I have a classification problem with $K$ labels. I represent the correct label $y$ of an observation $x$ as a vector $y$ in $R^K$, with entries $y_{k'} = \delta_{kk'}$ if $x$ belongs to class $k$.
Given an observation $x$, I predict its label with a vector $f(x) \in R^K$, where the components $f_k(x)$ satisfy $f_k(x) \... |
I am trying to build a regression model where I have 25 independent variables(predictors) all of which 5 point Likert items and 1 dependent variable which is a mean score of a 7 point Likert scale (aggregated score). I need to filter the best possible predictors(variable selection) from these 25. I was wondering what t... |
I have some data about heart rate (thalach) stratified by location (siteCVA). I used a Student's T-test to see if there was a difference in heart rate between locations. The image below shows the test I ran in R and the results
The difference of means is $\sim27$, which falls into the $95\%$ CI, yet the p-value is les... |
I'm working with a variant of the Ornstein Uhlenbeck model that includes Lévy-type jumps, (i.e. a jump-diffusion model with mean reversion).
I want the distribution of $X_t$ (given the parameters of the model and a value for $X_0$), but I'm not sure how to calculate it and I haven't been able to find an explicit solut... |
For a project I have developed a teaching game, and we are evaluating its effectiveness by having the users answer a quiz before and after the game. I have two quizzes, Quiz A and Quiz B, and one set of users will answer Quiz A before the game and Quiz B after, and the other set of users will answer Quiz B first and Qu... |
How do you calculate the cut-off of any rank-size distribution, which splits the distribution so that the top x% categories contain 1-x% of observations? The classical example is the Pareto principle, whereby the top 20% have 80% of observations. A Pareto distribution puts x at 20%, but I want to calculate x for any gi... |
I am planning an experiment and need some feedback on the best way to design/ analyze the data. I want to test the effect of 2 drugs on males and females. Within females, I want to test the effect of estrous cycle (2 levels; in or out). Should I just cross ("sex" with three levels against drug with two levels). Sho... |
Suppose I have a bunch of text documents. Let's say articles read by both John and Joann.
I want to kind of classify a new text document into either "preferred by John" or "preferred by Joann". Basically highlighting a bias towards one of them.
I thought of doing typical TF-IDF feature vector from the docs and runni... |
Lets say I have data of the following format in R:
group <- sample.int(4, size=50, replace=T)
endorsement <- sample(c(0,1), size=50, replace=T)
df <- data.frame(group, endorsement)
Printed:
> head(df)
group endorsement
1 0
3 1
4 0
2 1
2 1
... |
I have the following experiment:
Two balls are let fall from a certain high (could be the same or different)
Then for each of them, I get a random number from 0 to 1 with a uniform distribution and multiply the original height. The result is the height that will bounce back.
The whole process is repeated 10 times and n... |
I am working with daily sales of products in a supermarket. The purpose is that of accurate forecasting.
For each product sales I have many predictors, which include price,stockout,promotions of the product itself and of the other products related to this.
I am not interested in fitting a different model for each pro... |
I have done a data analysis and am interested whether my data is normally distributed to know whether I can apply two-way ANOVA.
As a result I have plotted a Q-Q plot but I am unsure how to interpret it.
My intuition is that it is normally distributed, however what do the edge effects imply? Are they still implying no... |
I've got 14 years of city population data. I wish to get an idea of how much the ranking of cities by population size changes over time. Is it stable or unstable? I guess if there's not much difference between city sizes, changes in ranking would not be very significant, and conversely. Since city sizes follow a Zipf-t... |
I want to predict the y variable, my Y variable is in numeric, I have more than 15 independents variables , all are in ordinal levels like (good , better, best) , ( Acidic, not acidic) so on.. So each independent variables in levels .
I have data for year 2010 to 2016 , and I want to predict for year 2017.
Any one gui... |
Have say 1000 items and their pairwise correlations with each other, so 499,000 correlations. Want to use this correlation data to categorise the 1000 items into a limited number of categories that is set up front so say into 10 categories. Categories should work so that items in same category have relatively high corr... |
Return series with 30 observations:
Return <- c(0.001562791, 0.0032665211, 0.0255382847, 0.0162675127,
-0.0200315418, 0.0072259871, -0.0062112001, -0.0003623057,
-0.017030708, -0.00029492, -0.0133622358, 0.0035062888, 0,
-0.0017143074, -0.0053106075, -0.0002250141, 0.0054610197,
-0.0039618815, 0.0005990266, -0.... |
I am working on Fitness case importance for Symbolic Regression and found a Paper "Step-wise Adaptation of Weights for Symbolic Regression with Genetic Programming" which talks about weights of fitness cases to give importance to points which are not evolved to boost performance and also get GP out of local optima.
T... |
Can I use Likert scale data to do parametric statistical procedures such as linear regression and ANOVA? I've read that you can use Likert data in parametric analysis but in certain circumstances. Which are those? My independent variables are Likert items and my dependent variable is the mean score of a Likert scale. A... |
I would like to conduct a test whether my hypothesised proportion P (a estimated parameter) is greater or equal to the sample proportion $P_{0}$. The hypothesis is as follows:
\begin{align}
H_{0}\!: P \ge P_{0} \\
H_{1}\!: P < P_{0}
\end{align}
I believe this is a right-tailed, one-sided hypothesis test, given $H_{0}... |
I am trying to perform factor analysis on a data set in R using the factanal() function, but I keep getting the error unable to optimize from this starting value. Therefore, I'd like to identify the features (columns) which are causing this situation, and explain why they're causing it. I think I've mostly succeeded at... |
I am working on LASSO and I don't fully understand how the path works:
Where does the path start? does it start from the feature that gives the biggest variance of prediction?
How does LASSO select which feature to add next?
Is the path (robustly) deterministic? By robust I mean, when I use a random subset of my data,... |
Consider the following example. We have 2 coins: Coin 0, which has probability of heads equal to 0.5, and Coin 1, which has probability of heads equal to 0.7. We select one of the 2 coins (without knowing which it is) and flip it 10 times. We have $H_0$: coin 0, and $H_1$: coin 1.
Let $X$ be the number of heads we lan... |
I'm just learning about Covariance and encountered something I don't quite understand.
Assume we have two random variables X and Y, where the respective joint-probability function assigns equal weights to each event.
According to wikipedia the Cov(X, Y) can then be caluculated as follows:
$${\displaystyle \operatorname... |
I am relatively new to R programming,
I am trying to generate Gumbel coupla as described by
https://datascienceplus.com/modelling-dependence-with-copulas/
Apply the copula in the mvdc() function and then use rmvdc() to get our simulated observations from the generated multivariate distribution.
copula_dist <- mvdc(c... |
Suppose I have predicted values obtained from several methods like KNN, maximum likelihood estimator, $k$-means clustering etc, say $x_1, x_2, \ldots, x_n$ with column vector $x_i$ predicted from method i. I want to combine all these results using least squares, i.e., $Xb=y$, where $X=[x_1,x_2,\ldots,x_n]$ and vector $... |
In Andrew Ng's lectures on machine learning, on page 4 of his first lecture notes, he presents the cost function for the ordinary least squares regression model as:
$$
\begin{align}
J(\theta) = \frac{1}{2} \sum_{i=1}^{m} (\theta^T x^{(i)} - y^{i}))^2
\end{align}
$$
He then shows that the partial derivative can be shown... |
Take a state space model of the form
$y_t=\alpha_t+\epsilon_t$ where $\epsilon_t\sim NID(0,\sigma_{\epsilon}^2)$
$\alpha_{t+1}=\alpha_t+\eta_t$ where $\eta\sim NID(0,\sigma_{\eta}^2)$
Futhermore, it is assumed that $E(\epsilon_t\eta_s) = 0$, for all $t,s$, that is, the error terms are independent. More, error tersma re... |
My data constitutes a few million observations, and am not able to load the entire data all at once on the memory (which seems to be the common practice with most packages such as scikit learn and Keras require). As a workaround, I was thinking to load data in smaller chunks, fit the model for that chunk (with the iter... |
Can someone please give or point to a proof? Can't seem to find a post that address this directly.
|
I am trying to quantitatively explain something I am seeing. I have a data set with a certain statistical distribution $p(x)$. I build a classifier to identify when something in my data set falls into one of several categories. Now say I test this classifier on the training set, but scaled so that its standard deviatio... |
In Andrew Ng's lectures he introduces Locally Weighted Linear Regression (page 15) for which he describes the weight as:
$$
\begin{align}
w^{(i)} = exp\Big(-\frac{(x^{(i)} - x)^2}{2 \tau^2}\Big)
\end{align}
$$
However in the problem assignment for Locally Weighted Logistic Regression, the weight is described as:
$$
\be... |
The image is a copied and pasted youtube lecture on Linear Regression. I can sort of understand what the lecturer says during the lecture, but I wonder how I actually calculate the $\sigma^2$ in the read box of the image. $\underline{X}$ means a matrix. The linear regression is homoscadastic with no serial correlation.... |
QUESTION: How would power analysis be done for each predictor in a linear mixed-effects model (LMM) with both Level 1 and Level 2 predictors?
I have scoured the web for resources on how to do power analysis on LMMs but all of the papers I found talk about the specific case/model where the design is repeated-measures an... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.