instruction stringlengths 9 38.7k |
|---|
In page 485 of the book [1], it is noted that "it is pointless to bag nearest-neighbor classifiers because their output changes very little if the training data is perturbed by sampling". This is strange to me because I think the KNN method has high variance when $K$ is small (such as for nearest neighbor method where ... |
I know, that fitting an AR(q) model can easily be done by OLS.
Now I wonder, how to do it for MA(q) and ARIMA(p,q), but cant find enything useful, except, that one uses Maximum Likelihood and needs many iterations.
But how exactly is it done?
My guess would be (for MA(q)), to initialize a time series of random white no... |
I have the following exercise:
"We consider the following model. X is a factor variable with three
levels a, b and c and corresponding probabilities 0:1, 0:3 and 0:6.
Given X, Y follows an exponential distribution with mean 1 if X = a,
with mean 2 if X = b and mean 10 if X = c. Simulate a sample of size
100 f... |
I hope you can help me with this question. I will try to explain my data:
I have a repeated measure design (with 16 measures at 'visit' 1 and 'visit' 2 for two groups: treatment and placebo). I am using linear mixed model before doing post-hoc testing(multiple comparisons). I have following variables:
Exhaled hydrogen ... |
Suppose we have some radioactive process and suppose we want to measure how many particles are emitted by the radioactive material in a given time (say $t=10 \text{s}$). Suppose we did $N=150$ measurements and got the following results:
where "Value" ($n$) represents the amount of particles hitting the detector in $t=... |
I've come across this problem of estimating parameters of nonlinear model using closed-form solution. I've read that logarithms can be used for certain forms, but they can't be applied to everything. For example, how can a function of form
$y=\beta_1x/(\beta_2x+\beta_3)$
be linearized so the closed-form solution can b... |
Suppose one has a data set containing samples about three variables, X, Y, Z, and fits the following five linear regression models:
Y~X+Z
Y~X+Z/X
Y/X~Z
Y/X~Z/X
Y/X~X+Z/X
Here, A/B denotes the residual from regressing A on B.
Note that all regression models do not include an intercept.
The question asks one to determ... |
Problem: Principal component regression for prediction. the input data has dimensionality of 500. I want to select a fixed number of components (around 10) to be used in a linear regression model.
The common practice of using PCA is to select the 'major basis' that capture most of the variance. This is done by sorting ... |
(Apologies if the question is too basic or vague. I have taken only one course in the subject long ago. This question stems from a silly argument I was having with a friend)
Two friends want to find out the temperature below which a given population of people would consider the weather to be 'cold'.
If they are given ... |
I am trying to understand how I can get the feature importance of a categorical variable that has been broken down into dummy variables. I am using scikit-learn which doesn't handle categorical variables for you the way R or h2o do.
If I break a categorical variable down into dummy variables, I get separate feature imp... |
How does Stata compute within, between and overall $R^2$ in fixed effect regressions?
How should I interpret each one? Assuming the data is country-country-year groups.
I have already looked at the Stata manual, and that hasn't cleared this up for me.
|
so I am having a problem to calculate the r-squared because the values of the variable (y and x) are not given in the question. All I have is the mean and the standard deviation of each variable as well as the scatter plot with pearson correlation value.
|
Given a sigmoidal/logistic curve p
what's the general procedure to finding at what value of x is the curve centered?
|
From Freedmans statistics, page 165, Regression, Exercise Set D.
Question :
Answer : "Well under 50% - the regression effect"
I'm not sure about the reasoning for this though, I'm not sure I really follow
what the question is asking either.
They haven't said that there's any relation or whatever between education a... |
I've started with thinking that if X and Y are perfectly correlated, then it is the same as looking at the correlation of Y and -Y (since the X provides no new information) and thus the correlation is -1.
Is this correct?
|
What is the nature of the question below? My sense is that this is a model with heteroskedastic errors and so would require FGLS estimation. Am I on the right track in terms of solving the question of how to efficiently estimate the model?
Consider the model
$$y_i = X_i\beta + \epsilon $$
for i = 1,2...
where $y_t$ is ... |
This is my first time of having a negative intercept, so I'm a bit confused.
My line of regression is:
$$ \text{starting monthly income} = -7.5 + 0.75\times \text{years of education}. $$
How would I interpret this?
|
I have a matrix of distances between cities and I want to use [Multidimensional scaling] (MDS) to calculate the locations of the cities. What MDS algorithm is useful for this? Is it available in python?
|
I trying to run a one-way ANOVA to compare 3 groups (Northern, Center and Southern regions) but Levene test is significant. Kurtosis and Skewness are ok but the equal variances assumption is violated. So what do you think is the best way to proceed? Maybe using Welch and Brown - Forsythe test and Games Howell test as p... |
I trying to create a very simple forecasting routine for a time series. I am using three methods to fit and compare their accuracies. These methods are ets, auto.arima and stlf from forecast package. An example of a time series is shown below.
count <- c(231.61, 0.00, 228.70, 3197.99, 3941.62, 4400.92, 2386.03,
311.22... |
If I have a dataset like this:
ID beg_lng beg_lat end_lng end_lat start_timestamp Time (sec)
0 -74.009087 40.713818 -74.004326 40.719986 1420950819 10
1 -73.971176 40.762428 -74.004181 40.742653 1420950819 1120
2 -73.994957 40.745079 -73.999939 40.73465 1421377541 321
Think of it a grocer... |
I have trying to improve a multiple regression model (reducing RMSE further), and have found heteroscedasticity evidence for 2 variables. I have found 2 options for reducing heteroscedasticity in linear regression: first is to get square root Y (response variable), and second is to use box-cox transformation (as per ht... |
I have a question and I'm being asked to specify which test to use and then conduct it. However, the data given is non-numeric. the question statement is "males and females differ in whether or not they regularly eat breakfast" and the data given is like, ffffmmmfmmfm YYYNNYYNN. I was thinking paired t-test but I don't... |
Suppose we are running a 10-Fold Cross Validation on a linear regression with 5 Variables (x1, ... , x5). In total we will have 10 fittings i.e. 10 sets of parameters β0, β1, ... , β5.
Could we use each ones average as an estimate for the model (i.e. β0est=avg(β0-1, β0-2, ..., β0-10) ?
|
I have been going through Radford Neal's excellent HMC book chapter in detail. However, there is one detail that I'm really obsessing with now, and I'm not sure if I'm thinking about it right. When describing the Metropolis step for HMC, which is needed for computer implementation, he says:
The negation of the momentu... |
I'm interested in computing the Bayesian Information Criterion (BIC) for a set of Naive Bayes models.
The NB can be described as follows, for a two-class $Y \in {0,1}$ with predictors $X = (x_1, x_2, ..., x_k)$, we have the following joint probability
$$
P(Y = y, X_1 = x1, X_2 = x_2, ..., X_k = x_k) \\
= P(Y = y) \prod... |
I am working with a set of data that is very similar to the binomial distribution. It is closely simulated by a random binomial variable. In the real data, there is reason to believe there are predictor variables that account for differences in the binomial probability. The goal is to determine those predictors effect ... |
I am using MCMC to train a model opposed to gradient descent.
Gradient descent suffers from local minima. Is MCMC a global optimization method? That is, are the resulting parameters from training a model with MCMC give us a global minimizer?
|
Sorry for a very poorly worded title
My project is primarily for a stylistic display of words to layperson regarding their frequency of occurrences by way of font size. The output only needs to convey
1) Which word is the most frequent
2) Is a particular word more frequent than the other?
I am gunning for a presentabl... |
I'm doing a self study out of Box, Jenkins, Reinsal, Ljung - Time Series Analysis Forecasting and Control. Problem 2.2 has me stuck (it seems so simple) it asks:
State whether or not a stationary stochastic process can have the following values of autocorrelations:
$$a) \ \rho_1 = .8 \quad \rho_2=0.55\quad \rho_k = ... |
I have a binomial distribution of n = 400 and p = 0.2. With this distribution, the probability of getting k = 88 is:
$$
\binom{400}{88} \ 0.2^{88} \ 0.8^{400 - 88} \ =\ 0.0295
$$
When I approximate this binomial distribution with a normal distribution, the mean of my normal distribution would be $400\ *\ 0.2\ =\ 80$, a... |
First of all, I self study Data Science from online courses, so please bear with me.
I have a regression problem with a dataset that similar to Bay Area Bike Share. The goal of this project is to predict the number of "transaction rate" in each hour. Transaction rate is the difference of number of start trips and num... |
My question is about the expected value of the variance of a collection of samples. For example, say I have a computer simulation to generate observations from a distribution with a set population mean and variance. If I run this simulation $x$ number of times to produce a collection of sample means and variances, what... |
I have a question as follows:
Assuming the null hypothesis is true for all cases. If we perform multiple pairwise comparisons at the $\alpha = 0.05$ level, what is the probability of making type I error with AT LEAST ONE of the tests?
The correct answer is greater than 0.05, and I don't know why.
Thanks in advance!
|
I am new to the field of deep learning, and I was wondering, whether there exist any theorems/laws, which govern how various preprocessing techniques effect the learning process.
I saw in some models, that values are beforehand scaled, or min-max-ed, yet I still do not have a clear picture as to what exactly works or d... |
I am going to run a clustering algorithm on strings (sequences of characters). I would like to use the edit distance, but it seems to be misleading as I perceive Anna to be closer to Anne than A to B. Both have edit distance 2.
My idea would be to normalize the edit distance by sum of lengths of both strings. In that c... |
If (X, Y) is uniformly distributed over the region defined by $$ 0 ≤ y ≤ 1−x^{2} $$ and $$ −1 ≤ x ≤1 $$, what would the marginal densities of X and Y be? I have determined that, for X: $$ f_{x}(x) = \int_{0}^{1 - x^{2}}f(x,y)dy $$. But how do I find f(x, y) is? It is not given in the question.
|
So as an experiment, I trained different instances of the LeNet network from scratch on MNIST, with some modification for each instance. By "from scratch", I mean that before each training session, I randomly initialised all layers of the LeNet network.
Note: Freezing a layer (used below) means that the frozen layer do... |
I'm fitting a mixed effects model where each cluster is a time series. For this purpose, I'm using the R package nlme, whose main module (also nlme) may get a correlation structure argument of class corStruct. The package also comes with some implementations, one of them is corARMA which designs an ARMA(p,q) structure.... |
My data has 264 subjects with their serial measurements. Event is death and sataset has 67 dead, 197 alive observations.
I'm trying to model repeated x and y measurements along with age and gender characteristics via Mixed - Effects Logistic Regression Model. My R code is below:
mel <- glmer(status ~ x + y + age + gen... |
To my understanding, Repeated CV gives superior results compared to k fold CV.
Is there any case where k fold CV is preferable compared to Repated CV?
In particular for Neural Networks, what would be the preferable choice?
I use R and caret package
Regards,
Ioannis
|
I used PCA to project 4 dimensions to 2 dimensions. All the values were positive, but PCA gave me negative values.
I wonder if the negative only means correlates negatively with the axis.
|
I would like to be assisted on how to go about choosing the treatments to work with in a fractional factorial the following scenario.
I have 3 factors ie 3 feeding intervals, 3 larval densities and 3 total feeds. This makes it a 3 factorial experiment.
How can I go about getting a fractional factorial design.
The 27 po... |
I am trying to perform parameter estimation using something like a maximum likelihood ratio method, however I need to add a penalty term to constrain nuisance parameters which describe certain systematic uncertainties in the measurement process. So I have been digging around in the literature to try and better understa... |
I have this equality,
$A(A+B)^{-1}B=B(A+B)^{-1}A$
and the question specifically only states that $A+B$ is nonsingular.
I have looked at this many ways but the only I can see it working is if $A+B$ being nonsingular implies that $A$ and $B$ are nonsingular but I can't see a way of proving this. I have also tried using r... |
I can write the cost functions for both linear regression and logistic regression and minimize them using gradient descent without using any probabilistic notions. In the case of linear regression the cost function is:
$$ \displaystyle J(\theta) = \frac{1}{2m} \displaystyle\sum\limits_{i=1}^m (h_\theta(x^{(i)})-y^{(i)}... |
I have a big dataset with 30000 rows and 60 columns (variables).
I would like to implement factor analysis aiming to find factors between variables.
What kind of factor analysis and what measures I should check to find if the factors are fine?
|
I have been working on Machine learning algorithms (SVM) and some clustering algorithms (k-means, random forest, HMM etc) for quite some time. I use these algorithms for data classification (this data is of complex form).
Recently, I came across neural networks and I was suggested that NN and ANN could be used to do t... |
I have a dependent variable ($Y$) whose distribution is as shown below. In particular, the variable exhibits positive skewness, has a few negative values and many positive values (generally less than one), and peaks near zero. The distribution after log transformation ($\ln(1+Y)$) is very similar too.
Would OLS models... |
When using a decades old inventory, questionnaire or factor from a questionnaire, is it important to retest the psychometric properties of this with the current sample, i.e. compute new Cronbach's alpha coefficients, CFA scores etc?
These questionnaires had good alpha scores back in the 60s & 70s but is decades old and... |
I know this is an ongoing and hard question to answer, but if anyone has experience in this then please share your knowledge.
Suppose I have made a neural network with the task of predicting an event x. Therefore, the network can be structured as a 2-class binary classification problem with n inputs and a single outpu... |
I am in the process of making a vba subroutine in Excel to perform Monte Carlo bootstrap cross validation on a regression formula. I've got the regression part, and the MSE of the CV's part finished. I am running the MonteCarloCV through 100 replications. I recently am trying to add more statistics to my output whic... |
I downloaded data from yahoo to study all the statistics of the time series.
I then calculated the returns by using: $Ln(\frac{S_t}{S_{t}-1})$ using the adj close price in the following excel file:
Then I calculated the daily mean using the =AVERAGE function, Variance using the =VAR function, Volatility, skewedness ... |
I'm working on a real world data set containing missing information. I understand imputing missing values before data partitioning can lead to leakage of information. I'm using this R package MissMech to test if my data is MCAR and impute missing values. Since, both the train set and test set are assumed to have a sim... |
This question could also (maybe) relate to PCA.
I built a supervised RandomForest on a dataset that I'm currently working on - the actual V Prediction $R^2$ was holding around 80% across many CV folds.
I then decided to look at the data from an unsupervised standpoint by dropping the Response variable and using t-SNE ... |
I'm quite confused about interpreting the results from the lme4 package. When looking through this webpage and google, it seems like more people are generally confused. I cannot find a clear overview on what to do with all the output, so I hope this thread can function as a general overview for more people.
I'll use my... |
I am working on thesis work for Mphil. I am interested to estimate the average treatment on treated effect (ATT) by using propensity score matcing method. The primary data on 320 respondents, out of which 160 are beneficiaries of a social cash transfer and 160 are non-beneficiaries have been targeted. The propensity sc... |
Background information:
The investigation is under event study framework. The topic is on how the conversion to academies affects students' KS4 performance. The dataset is at school-level. Conversion before 2009 would be in the treatment group while schools converted after 2009 would be in the control group. I have sch... |
For each ARMA process formulation, there is an optimal prediction. E.g.:
When you believe that $y_{t+1}=\alpha y_t + \varepsilon_{t+1}$, where $\varepsilon_{t+1}$ are IID, you predict $\hat{y}_{t+1}=\alpha y_t$.
When you believe that $y_{t+1}=\beta \varepsilon_{t} + \varepsilon_{t+1}$, where $\varepsilon_{t+1}$ are II... |
I have a (integer) random variable that looks like this :
So as you can see, has a regular behaviour for most of the time, but at some point a peak appears, and after a while this effect disappear and the variable goes down to his regular behaviour.
My question is how can I model this, using Bayesian Analysis tools... |
I encountered (see$^{\dagger}$ here p.60) the following formula for the signal significance:
$$
S = \frac{\epsilon_S N_S}{\sqrt{\epsilon_S N_S + \epsilon_B(\epsilon_S) N_B}},
$$
where $\epsilon_{S(B)}$ is the signal (background) efficiency and $N_{S(B)}$ is the number of signal (background) events.
I am wondering why i... |
I'm having trouble understanding something when going over Faster R-CNN paper (https://arxiv.org/pdf/1506.01497.pdf).
From what I understood, if k is the number of anchors per position on the feature map, RPN outputs a 4*k vector (for BB regression) and a 2*k vector (for obj/not obj classification) for each position on... |
How could you interpret the clear pattern that appears in each plot, in which it seems the points are very well aligned?
The dataset is Olives, from extracat package.
|
Does the applicability of VIF vary based on the parameter estimation process? For example, can I use VIF to check for multicollinearity if the parameters in my logistic regression are estimated using the Maximum Likelihood method or non-linear least squares for example?
When I look at the VIF formula it appears to me t... |
I'm trying to assess the validity of Random Forests models that I'm running in Python with sklearn. I'm testing the same input data with a few different parameters (n_trees and max_features). Even though I know cross-validation is said to be inherent in the random forests models, I'm trying to do this for a simple scho... |
Is there a method to calculate how well your model classified outliers in an unlabelled dataset?
I am currently using K-means on a data set by plotting the time against the Speed of a car. There are about 200 cars in a single data set.
Hence, 200 plots in the graph.
Any paper reference or suggestions would help.
Tha... |
The following question I found on an old exam:
Given $n$ i.i.d. random variables $X_k$, $1 \leq k \leq n$, with uniform distribution on $[-1,1]$, it is easy to compute the characteristic function of one them, namely
$$ \phi_{X_k}(t) = \frac{\sin (t)}{t}.$$
By the properties of the characteristic function and by indepen... |
Let $Y$ be a random variable that obeys the Tweedie distribution for parameter $\alpha = 1.1$. Let the link function be the natural log. Assume that we have a database of numbers of the form
$(y_1, x_{1,1}, x_{1,2}, ..., x_{1,m})$
$(y_2, x_{2,1}, x_{2,2}, ..., x_{2,m})$
...
$(y_n, x_{n, 1}, x_{n, 2}, ..., x_{n, m})$.
T... |
Apologies for a possible basic question. Suppose I have a model
$$y=X\beta + \epsilon, \quad E[\epsilon|X]=0, \quad X \text{ is } n \times k$$
and, say, matrix $X'X$ is nearly singular and I have a pretty good idea of how to choose a ridge tuning parameter $\lambda_1$ to consider the ridge estimator
$$\hat{\beta}_{r... |
I have a data set (with $n$ points) and there are two models which I think will fit the data well. The first model is a simple power law and the second model is a power law plus a linear term and an intercept;
\begin{eqnarray}
y&=&ax^b\\
y&=&ax^b+cx+d.
\end{eqnarray}
I would like to use the Bayesian Information Criteri... |
What is the probability of a constant being between two random variables (i.e. P(X < a < Y)) in terms of the joint probability distribution function of X and Y. X and Y are not independent, otherwise it would be really simple.
|
Let's say I have a $2\times2$ table where all of the expected values are at least one, and no more than 20 percent of the counts are less than 5 (hence, Cochran's rules are not violated). In such a situation is there a difference between using the Fisher's exact test or the chi-squared test to determine independence or... |
As I understand it, one can model changing variance of a time series process with a GARCH model. What I don't understand is, how can one actually make predictions with this?
Since
$$
y_t = \sigma_t \epsilon_t
$$
with $\epsilon_t$ being a Gauss-distributed random variable, the expected value of this is always zero. So ... |
I have two books I am using to try to get a feel for statistics and neither mentions the Pearson's chi-squared test, although it has a Wikipedia article to itself. Are there any alternative names or terms that I can look up to find information about it? I would like to be able to tie in the Wikipedia article with what ... |
My question is related to this question but I fail to transfer the answers to a multiple regression setup.
Suppose, a matrix $Z$ consists of $K$ columns of $T$-vectors together with a constant column.
Further, let the vector $Y\in\mathbb{R}^T$ be such that regressing $Z$ on $Y$ yields zero slopes except for the inter... |
I have followed many of the posted answers but I have not found anything that works, what works best so far is visual inspection of the time series, but it would be nice to have something quantitative. I am not interested in detecting change points or seasonality, perhaps these might be called steps?
What methodology c... |
Wikipedia states the following:
$$\lim_{n \to \infty} nB(1,n) = \operatorname{Exponential}(1).$$
I'm having trouble deriving this result. This is how far I get:
$$B(1,n) = \frac{1}{\operatorname{Beta}(1,n)} (1-x)^{n-1} = \frac{\Gamma(1+n)}{\Gamma(1)\Gamma(n)} (1-x)^{n-1} = n(1-x)^{n-1} $$
I think I'm supposed to make u... |
What is the ''reference value'' that is used by mgcv when plotting a smooth term? It is obvious for a parametric term, but not for a continuous variable used as a smooth term. Of course it doesn't matter when creating predictions; I'm just interested in how the plotting works.
For instance
library( mgcv )
set.seed( 1 ... |
I was using the following code to calculate the bp-test (eaef.csv can be found here).
student.dat <- read.csv("eaef.csv", header=T, sep=",")
attach(student.dat)
lnearnings <- log(earnings) ; weightsq <- weight^2
student.lm2 <- lm(lnearnings~schooling+height+weight+weightsq, student.dat)
bptest(student.lm2,~schooling*he... |
I have an experiment where I tested the influence of mycorrhizal fungi on plant growth, in six populations of a plant species. Each population had 10 maternal lines (families, Fam) in it. I'm interested in the main effects of fungi (Myco: 2 levels) and population (Pop: 6 levels), the random effect of family (nested in ... |
A lot of resources say that if you have over a certain number of cases, you can go ahead and use parametric tests. However, I have been struggling for a while to understand this, and when to test it. For example, I have student achievement data, which has a long tail on the right.
Am I correct in thinking that when the... |
How can I generate inter-arrival times from a Weibull distribution, p.d.f. $f(t)=\frac{\beta}{\alpha}\big(\frac{t}{\alpha}\big)^{\beta-1}\exp\big(-\frac{t}{\alpha}\big)^\beta$, where $\beta$ is the shape parameter and $\alpha$ is the scale parameter?
|
I'm trying to replicate the results in this paper. I'm stuck at this part: specifically,
calculate Jaccard intersection of pdata1 & pdata2
Is there some neat formula for calculating the Jaccard index of two normal distributions given their parameters?
I found this on Wikipedia, for the generalized Jaccard distance:
Or... |
I'm reading Trifinov et al. (2013) and I am trying to understand the designed framework. I list some excerpts to focus on the passage that is not clear to me:
A lesion $M$ is a result of a random process with a given distribution $P^m(M)$, which specifies the probability of occurrence of the lesion $M $ due to $m$utat... |
How can we prove that the normalized kernel is a kernel?
That is how can we show
$\frac{K(x,y)}{ \sqrt{( K(x,x) K(y,y) )}}$ is a valid kernel.
Question:
Also in real world, why do we normalize the kernels?
Do we also normalize the Gaussian Kernel ?
We can show that multiplication of two kernel is a kernel, but how abo... |
I am not a professional statistician and not a native English speaker, but I use simple statistics as a journalist. I am looking for a method to find a relationship between an ordinal variable with multiple choices and a binary one. I thought about Spearman’s ρ first, but I don’t know how to combine this ρ with multipl... |
One can write a function using the domain and codomain. For example, $f(x)=x^2$ can be written as $f:\mathbb{R}\rightarrow\mathbb{R}_+$.
Can I express the expected value function using this way? For instance, $\mathrm{E}[X]$ is a function of $X$ and $X:\Omega\rightarrow\mathbb{R}$ is the function of $\omega$.
$\mat... |
I am trying to understand a paragraph in the Faster RCNN paper.
We train and test both region proposal and object detection networks on single-scale images [7, 5]. We re-scale the images such that their shorter side is s = 600 pixels [5]. Multi-scale feature extraction may improve accuracy but does not exhibit a good ... |
For my project, I'm choosing my initial process based on stationarity, seasonality, and constant variance.
I have two processes right now: one with log transformed data and differenced once at lag 1 and the other with Box-Cox transformed data and also differenced once at lag 1.
The acf and pacf plots for both are alm... |
I've used a simple similarity threshold approach to initially cluster similar text. I now want to group each of the clusters that are similar.
I'll try to break it down.
Cluster 1:
Text
Text
Text
Cluster 2:
Text
Text
Both of these clusters talk about something fairly similar. How could I go about creating a "Group... |
Assume $\frac{dX_t}{X_t} = \mu dt + \sigma d B_t$ where $\mu$ is a constant and $B_t$ is a Brownian motion, and let $Y_t = \ln X_t$. I understand that $B_t$ is nowhere differentiable and both $X_t$ and $Y_t$ are functions of $B_t$, so neither of them are differentiable. Thus, $d(\ln X_t) \neq \frac{d X_t}{X_t}$.
But ca... |
The question is already posted here : https://math.stackexchange.com/questions/2530202/prove-that-mle-does-not-depend-on-the-dominating-measure
Let $(X,\mathbb{F})$ be a measurable space, $\left\{P_{\theta}:\theta \in \Theta\right\}$ be a family of distributions on $\mathbb{F},$ which is dominated by a $\sigma$-finite ... |
I need to find AIC for my multinomial logistic regression analysis. I applied lasso method in r using the glmnet package. Unfortunately, I have no idea how to find the "-2 log likelihood" value of my model.
As we know, AIC = 2k - 2 ln(L) . So I need to know the value of -2ln(L) which is a the "- 2 log likelihood" I wa... |
What is the difference between entering my external regressors in the mean equation and entering them in the variance equation in an AR(1)-GARCH(1,1) model? I get more explanatory results with the external regressors in the variance equation than in the mean, but am not sure as to what the actual difference is. I am mo... |
I'm calculating the mahalanobis distance between two individuals/vectors of the same pool as it is described in mahalanobis distance between individuals by using https://stats.stackexchange.com/a/48576/163146 as code for R.
Now I wonder the following: Is the resulting distance then really between the two individuals or... |
Here is the basic SKLearn tutorial on K-means.
They run PCA and then do K-means on reduced data. Can it radically affect the result? Will we get totally different clusters if we apply PCA on already clustered data?
|
I forecasted/simulated a time series with a n step ahead forecast (n-ahead = 250) with 4 different time series models. Now I want to test, which of these models fits the best for the data.
All I found were methods, were we need the actual future values to compare (e.g RMSE, $R^2$ etc.). Are there techniques to test for... |
I have 5 different tasks and the duration of each task in the network are assumed to be beta distributed and I have their beta parameters (p, q, a, b) for each task. These durations are assumed to be independent of each other.
How do I find the probability of completing the first 3 tasks in a certain time?
Any help wou... |
I am using R to run a linear regression with interaction terms on a small data set(~40 observations, 5 explanatory variables).
My explanatory variables are coded in a way that they can take values -1,0 or 1.
There are different conditions(combinations of input variables) that are more common than others. (f.e. the case... |
I have a datatable (looking like this: https://i.stack.imgur.com/rdt09.jpg , where I'd like to see how different weekdays affect stock prices. However, when I create use them lm() function and summary, I get an 'error':
Coefficients: (1 not defined because of singularities) with th row showing only NA's
The formula I u... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.