instruction stringlengths 9 38.7k |
|---|
I'm working a study to assess the relationship between psychotic symptoms and suicide ideation on adolescents. A battery of instruments was applied to 1635 adolescents from 2 contexts (Group A=School sample, n=1520; Group B=Clinical sample, n=115) to assess psychotic symptoms and suicide ideation.
I want to know if hig... |
I have several temperature variables that are predictor variables on survival. I am trying to differentiate between them to see if one temperature variable has a greater effect on survival than another. As expected (b/c it's the same temperature time series) several of my temperature variables are correlated. I have re... |
I have encountered some challenges in analysing my results using Factor Analysis. I'd be grateful if you could give me some advice please.
I am using an existing theory to analyse individuals Personal Values on a construction project. More specifically, I am using Schwartz (1992) Values Survey. This is a link to Schwa... |
Could lasso be used by itself as a feature selection method without being tied to a regression loss function? And if so, what's a good package for doing so?
Also, could lasso be performed as a step before using a classifier like random forest?
|
I'm trying to fit data to and exponential curve. I've done a least-squares fit and come up with an equation of the form $y=ae^{bx}$. The curve looks like a good fit, but I'm wondering about the following:
I have five pieces of data, ranging from $3$ to $3*10^5$. The total square error is $2.6*10^9$ (!!!), but basically... |
I have a data set of 932 responses (carbon emissions) with p=21 features (Temperature, net radiation, photon flux density, soil water content etc.) that may have some influence on them.
I am using scikit learn's DecisionTreeRegressor and the Docs suggest using PCA to help narrow down the number of features to look at. ... |
If we have $Y$ as response variable which has more than 1 component, and we do want to do regression, then is there such a thing as multivariate regression, and if so, how those it differ from univariate regression, in method and result?
I picked up a book on multivariate analysis, and it did not touch upon regression ... |
I am running a negative binomial regression to obtain an interaction term for two variables. Both of the variables independently significantly increase the outcome variable, however according to this output below, they interact to significantly reduce the outcome variables score. I have attached the output below, dum2 ... |
I am looking for a Python package that allows to train a conditional random field (CRF) on two datasets.
For example: I have two datasets, dataset A and dataset B. I want to train a conditional random field on dataset A, then train the CRF on dataset B. I do not want to join the CRF on two datasets at the same time.
I... |
As an spanish speaker, I apologize if my technical english isn't 100% accurate. This may be a simple question, but I haven't found a clear answer.
I have two independent groups: Group A: n=1520 / Group B: n=115
I want to compare their means on the scoring on a 15-item instrument in order to find significant differences... |
I've been working with a rather difficult data set for over a week with no real progress. I am trying to compare the effect of temperature (15, 20, 25, 28, 30 degrees) on development time. The problem is the data is very non-normal and the variance unequal despite many transformations. What I have observed is as temper... |
I saw this exercise and its solution, but I'm not sure about it. (I'm gonna quote the solution and after I'll say why I have doubts)
According http://mathfaculty.fullerton.edu/sbehseta/Math538_Elena_Quiz%203.pdf, I have the following problem.
Problem 10.1: Number of simulation draws. Suppose that scalar variable
$... |
Is there any solution for the following convex optimization problem?:
\begin{equation}
\text{argmin}_{\mathbf{X}} ||\mathbf{X} + \mathbf{Y}||_F^2 + \lambda ||\mathbf{Z} - \mathbf{FX}||_1
\end{equation}
where $\mathbf{X}$, $\mathbf{Y}$, $\mathbf{Z}$, and $\mathbf{F}$ are matrices.
$||.||_F$ represents the Frobenius norm... |
Homocedasticity is assumed for Ordinary Least Square but for Weighted Least Square, the variance is different given $x_i$. What do we mean by a constant variance? and also what do we mean by a heterocedastic variance?
|
Let $T$ be a compact, connected, proper subset of $\mathbb{R}^3:\quad T \subset \mathbb{R}^3$.
Further let $\left\{ \boldsymbol{\mu}_i \right\}_{i=1}^n$ be a given finite set of $n$ point in $T$:
$$
\left\{ \boldsymbol{\mu}_i \right\}_{i=1}^n \subset T
$$
I would like to approximate continuous uniform distribution $u(\... |
I am just wondering if my data violate one of the Gauss-Markov assumptions, which is homescedasticity. How should I go about checking if my data violates homoscedasticity assumption?
|
This question relates to model selection and validation. This post laid out three strategies on how to deal with very small n. In conclusion (option 3), one might resign using a global test set, but use every instance for training. The use of cross validation still allows to get average performance indicators on the va... |
Background
I am still learning survival analysis, and try to understand why we cannot use linear or logistic regression on it. This question helped me a lot.
Question
When I am reading some tutorials another question pops in my mind: suppose we have a poor experiment design and the observation window is very short, and... |
I am trying to determine distribution if this is possible with my data set. After I analyze my data I find that there is possible zero inflated model since there are around 80% of zeros in data set (not missing values). I used data frame with one vector variable M1. I created several models trying to find best fit.
m... |
My question refers to model validation.
It is often suggested to split data into three data sets (training, validation and global test set). Training and validation data can be used for model selection and hyperparameter tuning to identify the best model, the performance of which is subsequently evaluated on the global... |
Not much literature seem to address this connection. Is it fair to say that the least square linear regression (commonly seen in machine learning) is an approximation of the linear MMSE estimator (well-known in estimation theory)?
(1) The LS linear regression solves for
$$\pmb{\hat\beta}_{LS} = \underset{\pmb\beta}{\... |
What happens if in my data set I have 95% independent samples, but 5% are dependent samples? does this effect which tests I can run?
Also, I guess a good example is it is like having 3 outcomes to an apple: worms present, mites present & lice present. Using variables such as the weight of an apple, length, and age coul... |
What is the difference between
normalizing the variables and doing PCA;
using scale=TRUE option (without normalizing the variables) in prcomp function in R?
|
I am a bit boggled when trying to conciliate econometric and machine learning view for time series.
Let's assume that each of the $N$ (stochastic) time series have $T$ synchronous i.i.d. observations, but can be correlated between themselves.
That is an input matrix $X \in \mathbf{R}^{N \times T}$.
According to the "cu... |
Problem Statement: Find Anomalies/outliers using application access logs in an un-supervised learning environment.
Basic use case is to find any anomalies in user access made to a large KMS.
Input Data: Data would be created from log file that are in the following format:ts, src_ip, decrypt, user_a, group_b, kms_regio... |
I know this is explained in the documentation, but even after reading it and trying I am not able to understand it intuitively. A simple explanation would be welcome. Also while modelling how can I decide its value.
|
Say I have the following data:
time, [s] response
0 42.2322
1 40.5469
2 33.7388
3 23.4911
4 34.9972
5 26.1497
6 38.527
7 21.6063
8 42.7667
9 44.5489
10 44.1784
11 36.4207
12 15.5216
13 46.3163
14 44.6453
15 50.6852
16 18.9666
17 32.9604
18 42.3621
19 5.2577
20 41.2933
21 31.8881
22 28... |
Say I have the following matrix where the state space is {0,1,2,3,4}
\begin{bmatrix}
1-p & p & 0 & 0 & 0\\
1-p & 0 & p & 0 & 0\\
0 & 1-p & 0 & p & 0\\
0 & 0 & 1-p & 0 & p\\
0 & 0 & 0 & 1-p & p
\end{bmatrix}
where
$
0 < p < 1
$
I have derived a general solution for calculating the stationary distribution when $p... |
Is it valid to use the Bai-Perron method to detect breaks in the constant and and the trend in a regression, and to use the break dates for cointegration with structural break?
|
I have a clinical data,
3 control (replicated)
3 Treated A (replicate)
3 Treated B (replicate)
-I want to know how these treated are different from each other and from the control.
- I want to know which sample is statistically different from the rest
I want to do this in R
data <- structure(list(X = structure(c(1L,... |
The Sequential Quadratic Programming (SQP) that I am talking about is based on here. And the Sequential Least SQuares Programming (SLSQP) is based on SciPy documentation
|
The Gartner hype curve:
is a branded graphical presentation developed and used by American information technology (IT) research and advisory firm Gartner for representing the maturity, adoption and social application of specific technologies.
Source: https://en.wikipedia.org/wiki/Hype_cycle
And it looks like this:
... |
I am looking for a test function that is differentiable since I'd like to test some gradient-based optimization methods. But the function's derivatives (both gradient and hessian) should be very hard (if not impossible) to compute analytically, any example?
(To give a counterexample, a multivariate Rosenbrock function ... |
As you can see on the question, I've got these two groups.
Group A: n=1520
Group B: n=115
I aim to compare their scoring on a 15-item instrument, but these scorings don't have a normal distribution, are unequal on variances and as you can see the sample sizes have a huge difference between the two groups. I've tried Ma... |
We investigate stress hormones in fish. Ten fish from three different species were sampled. Each individual was placed in a small glass tank and weighed with a digital scale. After 2 minutes of handling stress, blood was collected from each fish and blood corticosterone (ng/mm2) was ascertained. We want to know how spe... |
UPDATE Confidence Intervals
I have an imbalanced dataset with around 200k instances and 50 predictors. The imbalance has a 4:1 ratio for the negative class (i.e class 0). In other words the negative class makes around 80% of the samples and the positive just 20% of the samples.
It's a binary classification problem whe... |
For some Type of the Pearson distribution system, the $x$ is bounded for a certain range.
Now if I want to get the probability of say certain $x$ value and yet it is out of the defined bounds of a specific Type of the Pearson system, does it mean that I can't use the Pearson Distribution system for this situation? (Be... |
I am reading the paper High-dimensional regression with noisy and missing data: Provable guarantees with non-convexity by Loh and Wainwright, and I am interested in their approach to missing data.
Assuming a model $y = X \beta + \epsilon$, in example 2 at page 3, they suggest that if a data point in $X$ is missing wit... |
I have a time sequence $y_t$ and I want to estimte it via an ARMA(2,2) model, i. e.
$$y_t = \phi_1y_{t-1}+\phi_2y_{t-2}+\theta_1 \epsilon_{t-1}+\theta_1 \epsilon_{t-2}+\epsilon_t $$
I was able to estimate the coefficients using an MLE on a Kalman Filter of $y_t$. $$[\phi_1,\phi_2,\theta_1,\theta_2]=[.72,.23,.46,.35]$$... |
A simple linear regression on x1 and y yields R^2 of 0.2
A simple linear regression on x2 and y yields R^2 of 0.1
What is a upper and lower bound of R^2 if we do a multiple linear regression on x1, x2 and y?
My guess on the lower bound is 0.2 if x1 and x2 are perfectly correlated, but is the upper bound 0.3? Or little ... |
I am studying time series using regression analysis. I know that when using time series data the assumption that the errors are independent cannot be satisfied.
However, analysing the residual plot:
In my opinion, it does not have a positive autocorrelation because I cannot see a cyclic pattern. Also, it does not s... |
I'm not involved in mathematics or data science very much, but I want to do some computation on a rental dataset that I have.
I currently filter different listings that do and do not have whatever amenities I select.
How can I compute correlation of whether the amenities increase or decrease price?
|
I'm a little confused what the difference between these equations are:
$$\begin{array}{rcl} \operatorname{Var}(\bar{Y}) & = & \frac{\sigma^2} n = \frac 1 n \sum (x_i - \mu_X)^2 \\ s_x^2 & = & \frac 1 {n-1} \sum (x_i - \mu_X)^2 \end{array}$$
I was also under the impression that $s_x^2$ was the same as $\operatorname{Var... |
The research paper A network framework of cultural history [1] has the following visualization
It is a scatter plot between the number of births and the number of deaths of notable individuals in different locations across the world. Any point present outside of the two curves are considered outliers. The me=7 specif... |
Could you give me some examples and/or references on "risk-averse" loss functions (i.e. penalizing the underestimates more then the overestimates)?
|
I am using the Kolmogorov-Smirnov test to study the homogeneity of a point pattern in 3D using the distance transform to a structure as a covariate.
I am using the spatstat book, where it is explained (Section 10.5) that the Kolmogorov-Smirnov test statistic ($D$) can be calculated as the maximum vertical separation be... |
In the wikipedia article on Categorical Distribution link under "Terminology" it states that care should be taken between Categorical and Multinomial Distributions, with additionally:
However, conflating the categorical and multinomial distributions can lead to problems. For example, in a Dirichlet-multinomial distrib... |
I am working on the use of distributed delay applied to pharmacometric models.
Specifically, the delay kernel I am interested in is the Gamma distribution, with non-integer shape.
The historical values $y$ are a simple table of values at points in time.
Calculation of a distributed delay requires convolving the Gamma d... |
Are there any packages there any LDA packages out there that allow you to specify the full asymmetric prior? I know Mallet uses asymmetric priors, but I don't believe it allows you to specify them.
|
I have inherited a simple single OLS linear regression model (Python statsmodels) of which attempts to handle some prior view on seasonality in the relationship by modelling data as two seasons by splitting and training model separately.
What would be a better way of modelling this relationship?
I could include the mo... |
Using the Pattern Matrix Table on the SPSS I found there are some cross-loading among some of the variables. I am using Promax Rotation of the PCA and got 15 Factors from 56 Variables.
I have 13 variables with some cross-loading of greater than 0.3. Is there a rule of thumb to remove variables that are cross-loading on... |
I have completed a Factor Analysis on a around 180 responses for a questionnaire with 56 Variables. I got 15 factors using Oblique Rotation PCA. Some of the factors have only two variables of considerable loading.
In Social Science - is there any considerations for such situations?
Under some factors I have in fact g... |
I assessed two groups with a pre and post test but didn't identify each test so I don't know which test belongs to each person. I do know which is pre and which is post though. Can I still use a hypothesis test and if so, which one?
|
If $X \sim Po(\lambda)$ then $E\left[X(X-1)\cdots(X-r+1)\right] = \lambda^r$.
Is there a straightforward way to see this without the use of moment generating functions?
I can get as far is $$E\left[X(X-1)\cdots(X-r+1)\right] = \sum_{k=0}^{\infty} [k(k-1)\cdots (k-r+1)] \frac{\lambda^k e^{-\lambda}}{k!}$$ and noting tha... |
Say you have an $n \times n$ matrix whose entries follow a standard exponential distribution, $A_{i,j} \sim \text{Exp}(1)$ for $1 \le i,j \le n$. You find the minimum value, $x_{i:n^2}$, and remove the corresponding row and column to produce an $(n-1) \times (n-1)$ matrix $A^\prime$ where every entry is $\ge x_{i:n^2}$... |
I am making a program to make the confidence intervals for an additive error additive trend model, based on the book Forecasting with Exponential Smoothing by Rob J. Hyndman.
The model of the series is $$y_t = l_{t-1} + b_{t-1} + ε_t$$ and it is said that one way of getting the intervals is by simulating paths and g... |
I have a number of finishes in football which are labeled either goal or miss. For each shot I know the standings in the game at the time of the shot, which I use to calculate gamestate for the shooting team (1 = leading, 0 = tied, -1 = trailing). I have calculated the conversion rate for each value of gamestate.
I w... |
I am conducting a Factor Analysis using PCA.
I have used Oblique and Orthagonal Rotations and when I am trying to analyse my results I get the message:
"Rotation failed to converge in 25 iterations"
So I had to adjust this - sometimes I get the results using 29 and sometimes more than 50.
Is there an underlying proble... |
I was wondering if you would be able to help me with an econometric problem regarding OLS regression. Part of my research is transforming functions in order to be used in stata example: Q = e^(B0 +B1(P) therefore it would just be ln(Q) = B0 + B1P on Stata.
I am trying to estimate the parameters of the following deman... |
Theory seems to indicate that an offset should be included in count models if groups are observed for different lengths of time or if they have different levels of exposure.
Suppose we are observing kids playing basketball during open gym with groups A and B. Group A tires out after playing 20 minutes and leaves the c... |
I am studying Time series with Regression analysis.
I have data that has seasonality and trend. I am using Dummy variables for seasonality- In this case I am using quarters.
I selected Quarter 1, Quarter 2 and Quarter 3 and obtained the following model:
$ Revenue= \beta_0+\beta_1{X_{1t}}+\beta_2({X_{S1,t}})+\beta_3({X_... |
I'm trying to forecast the next 24 hours of electric consumption based on historical consumption, which constitute 24 records per day. I'm not sure if I understand the ARIMA model well, but if I want a good forecast from it for every hour of the next day, do I need to split my data into hours and forecast from that? Or... |
Before I run a linear regression, I derive my independent and dependent variables. When I run the t-test on my dependent variable itself to test whether it is significantly different from zero or not, I get insignificant t-test result saying that the dependent variable is not significantly different from zero (i.e. ins... |
I recently see a term "semi-parametric" in the answers of my question but not really understand what is this term means.
Wikipedia says
In statistics, a semiparametric model is a statistical model that has parametric and nonparametric components.
And gives Cox proportional hazards model as an example.
I see Cox propo... |
I have data that has 3 different predictors for marketing a product (radio, tv, newspaper), depending how much I invest in one of those I will earn more money or less.
So, if I want to know which of the 3 gives more money, what would be the best way to do an inference? Using 3 simple regressions or a multiple regressi... |
I am not able to understand logic behind coming up with this formula for covariance. We know that the sample covariance formula is:
$${\rm Cov}(x,y)=\frac{\sum(x_i - \bar{x})(y_i - \bar{y})}{n-1}$$
I am not able to understand the logic behind the numerator. Why are we multiplying the terms? I mean, I know we need to ... |
I ran pairwise comparison between three goups in terms of stress hormone after ANCOVA and I found hormone level in group 1 is higher than two and two is higher than three (68, 57, 44). In discussion section when I wanted to talk about how much the level of hormone in group 1 is higher than two other groups and state it... |
When I performed correlation analysis of C02 emission with around four-hundred attributes, i found out that C02 emission and cereal production has a correlation value of 0.98 where as the most obvious of indicator like population had only 0.2 correlation with C02 emission,
So how to determine whether my correlation sc... |
I have two questions.
I know you shouldn't take too many covariates in your regression model. I have 3 continuous covariates available, and 3 group covariates available. Should I take them all? If not, what's the limit? I have $N > 1000$ data rows.
When I do take group covariates, do I always need to include interacti... |
I used a RF model to predict a rare event. After testing using multiple iterations, I settled on a model which provided decent results. I tested this model on a validation data I had kept aside before training the model. The result is similar here also. Now i extracted the votes(ie the probabilities)from the RF model f... |
I am trying to understand the idea of the sampling distribution of an OLS estimator. To do so I am trying to visualise this distribution obtained with simulations (I use R for this).
So I generate the universe of observations with 100,000 randomly distributed observations of my independent variable univ.x. Then I also ... |
From the well-known dataset iris I want to predict the species of flowers given a the length of their sepals and petals and their width.
The data frame looks like :
Having :
xapp <- c(data[1,40],data[51:90,],data[101:140,])
xtest <- c(data[41:50,],data[91:100,],data[141:150,])
I wrote :
matriceKnn <- knn(xapp,
... |
How can I simulate a GARCH series that is contaminated with both additive and innovative outliers? My goal is compare different robust estimators. I am using R.
|
I have trouble understanding the following exercise:
Assume a setting in which the assumption of strict exogeneity holds, but
random effects estimation and fixed effects estimation give very different parameter
estimates. Which estimates do you trust most? Briefly explain why.
My answer to this question was that we sho... |
Often it is said that heteroskedasticty could be assessed in a graphical way: for instance it can be inferred by looking at the residuals of a regression. However, this seems to me quite discretionary. For instance, in the following pictures:
How would you say if residuals are homo- / heteroskedastic and to what exten... |
Note: I'm not sure if this is the right place to ask, but I don't know any other places. If you know other places which are more proper for this question, please tell me.
For example, for this link.
It is sorted by feature.
I want to know, how does the sort by feature works. Is there any way I can know it, or anythin... |
I have a simple linear model that predicts sales as a function of a temperature-related variable.
For the sake of simplicity, let’s assume that the model is
$$\hat{Y} = a+b \cdot T$$
I train this on a set of historical values $\{T_i, Y_i\}$. The estimated coefficients $a$ and $b$ have their own statistical uncertaint... |
Background:
I'm planning an experiment with three independent variables (IV) and one dependent variable (DV) and would like to get an idea of what methods of data analysis might be appropriate and what corresponding sample size I should aim for.
Detailed:
Each participant completes three scenarios (IV "Scenario") in a ... |
Background: So I have a dataset with 32 Variables. There are several missing values so I decided to impute them with the mice package in R. However, I plan to combine most of those variables through factor analysis, so that I am only left with 12 variables in my final analysis (with which I will conduct a multilevel an... |
Background: I am running a gravity model (very basic: trade flow ~ GDP(i) + GDP(j) + pop (i) + pop(j) + D(ij)) with a Poisson quasi-maximum likelihood model (PQML). I have already converted everything to natural log form (Log in R) and ran the model.
My issue is that I want to see the possible trade gains if two cou... |
Suppose I have a set of observation from GMM. I want to observe the change of marginal likelihood (model evidence) after LDA projection.
I'm guessing that it would get bigger. Is there any known result about this?
|
So I want to combine four items into an index on strong theoretical grounds (scroll all the way down in case you are interested in what those grounds are) but looking at the statistics, I get abysmal results.
Cronbach's Alpha = 0.36
Kaiser-Meyer-Olkin factor adequacy = 0.5
Correlation Matrix
Democrac... |
I am studying Time series.
I am trying to identify if the pattern in the plot of residuals vs order to identify the type of autocorrelaiton:
I think that it has a negative autocorrelation because almost every negative error is followed by a positive error and vice versa. However, analyzing some examples on the interne... |
I have several positive integer numbers representing the count of features, for example delay, successful_attempts, failed_attempts. Say I have 2 sets of such numbers, A and B:
A : delay=63, successful_attempts=6, failed_attempts=7
B : delay=84, successful_attempts=5, failed_attempts=12
I am trying to find a metric to... |
I wonder how to reproduce sinusoid with autogressive discrete model :
y = sin(t) with or without additive noise is my target, t here is continuous variable. sin(t) could be expanded with Taylor expension, but I'm looking for autogressive formulation : y[t] = a1*y[t-1] + a2*y[t-2]+...,
I could create artificial data, c... |
I need to prove that a given region on the genome maintains has the same base composition proportions (20% A, 15% T, 19% C, etc…) of that genome. I thought about doing Chi-squared test of independence since I deal with exact counts. As a result, I found $p<0.05$ suggests that they are independent so I say the base comp... |
Can any continuous function on [a, b], where a and b are real numbers, be approximated or arbitrarily close to the function (in some norm) by Gaussian Processes (Regression)?
|
If we are doing a binary classification using logistic regression, we often use the cross entropy function as our loss function. More specifically, suppose we have $T$ training examples of the form $(x^{(t)},y^{(t)})$, where $x^{(t)}\in\mathbb{R}^{n+1},y^{(t)}\in\{0,1\}$, we use the following loss function
$$\mathcal{L... |
I have the following dataset, link here.
I have three variables:
Dependent Variable 1: Grammatical Category
this is a nominal variable, and it has four categories: "verb", "adjective", "noun", "adverb".
Dependent variable 2: Sentence Type
This is a nominal variable and it has three categories: "short", "medium", "lon... |
I have a regression model like this
lm(ContiniousVariable ~ ContiniousCovariate + BinaryCategoricalVariable)
I repeat this model for each of the 20 ContiniousVariables. I want to see whether there are differences between the two groups (represented in BinaryCategoricalVariable) for each of those 20 dependent variable... |
I want to say that my statistic background is very poor, but I'm doing Machine Learning, so I need to learn a bit of it. (my experiment may not make sense. If not, please suggest)
Let's say I've got ROC curves, like in the pictures, representing the performance of 2 classifiers evaluated via cross-validation. I want t... |
I have only 7 pairs of data, is this enough for me to do a correlation using pearson r? Or should i use spearman's r instead because of this small sample size?
How many pairs is needed in utilizing pearson r?
|
I have data on Liver Disease Patients, with the response variable being whether the patient has liver disease or not(1 or 0) and 7 predictor variables, such as age, gender, protein levels etc.
Now, the purpose of my study is to first conduct binary logistic regression on the entire data and check for the significant t... |
Consider the following toy data:
All prices have been normalised using
$${Price_{Norm} = \frac{Price_{current} - Price_{Min}}{Price_{Max} - Price_{Min}}}$$
Item : Prices
Apples : 0.0, 0.4, 0.8, 1, 0.7
Bread : 0.0, 0.2, 0.4, 0.7, 1.0
Cars : 1.0, 0.6, 0.0, 0.2, 0.1
Wheels : 0.7, 1, 0.7, 0.2, 0.0
Computers: 0.... |
Let $X \sim N(\mu_1, \sigma_1^2)$ and $Y \sim N(\mu_2, \sigma_2^2)$ be independent. It can easily be shown via moment generating functions that $Z=X+Y$ is also normally distributed with $Z\sim N(\mu_1+\mu_2, \sigma_1^2+\sigma_2^2)$.
I was wondering if one could instead use the change-of-variables formula to derive the ... |
I have a data matrix with size of 24 by 369, consisting of 4 classes. I want to evaluate the variable importance using permutation test. I know there are lots of methods to find informative variables according to the question at hand, but here I would like to focus on correlation between variable x and class y, as for ... |
I tried to obtain the score vector (1st derivative of density function w.r.t. parameters) of multivariate normal distribution.
Density function of multivariate normal distribution:
\begin{align*}
f(x) = \frac{1}{\sqrt{(2\pi)^d |\boldsymbol{\Sigma}|}} \exp\left[-\frac{1}{2}(\boldsymbol{x} -\boldsymbol{\mu})^{\rm{T}} \bo... |
Suppose we toss a coin $n$ times, we are interested in the number of 'tails' (which have probability $p$ of appearing), put $X$ the number of sucsess, and put $Y$ the number of fails. I know that $X$ and $Y$ both have a Binomial distribution with probabilities $p$ and $1-p$ (successively).
Now if $n$ is large enough, ... |
In a linear regression with several variables, a variable has a positive regression coefficient if and only if its correlation with the response is positive. ¿(TRUE OR FALSE)?
|
If a dataset contains a perfect predictor a linear regression is able to identify this variable. Why is it that a tree model cannot do the same?
In the R code below, the dataframe df contains an independent variable IndPerfect that is identical to the dependent variable Target. For the illustration only the last row i... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.