instruction stringlengths 9 38.7k |
|---|
The model follows the form of y = XB + Zϒ + ε, where y is the matrix of outcome variable, X is the matrix of predictor variables, Z is the design matrix, ϒ is the vector of random effects, and ε is the vector of residuals.
Now, we have to consider for the random effects. Consider to make the time points as the random e... |
According to theorem 3.1 of this article here, If $(T_{1},T_{2})\sim BVBS(\alpha_{1},\beta_{1},\alpha_{2},\beta_{2},\rho),$ then:
The conditional PDF of $T_{1},$ given $T_{2}=t_{2},$ is given by:
$$f_{T_1|T_2=t_{2}}(t_{1})=\dfrac{1}{2\sqrt{2\pi}\alpha_1\beta_1\sqrt{1-\rho^2}}\left[\left(\frac{\beta_1}{t_1}\right)^{\fra... |
My understanding of principal component analysis is that it is a feature extraction technique in which new features are created by linearly combining the original features. I am working with a dataset in which there are 20,000 genes (predictors) and about 137 tissue samples (observations) which can be 1 of 8 cell types... |
I have (daily) panel data for about 20 countries, about 200 days for each country. Therefore the estimation is based on around 4000 data points. The number of samples in different countries varies. Some have 180 data points, some have 220. For each country and day, I have data for y, x1, x2, where x1 and x2 are binary ... |
I'm designing a randomized encouragement trial in which half of the sample will be randomly assigned to receive a special invitation to try a new intervention. This design will likely result in two-sided non-compliance with respect to random assignment:
Everyone randomized to the encouragement arm will receive a speci... |
I have a confusion about the relationship between Q-learning and the probabilistic methods. Normally probabilistic methods are used to make intelligent decision even the problem is incomplete or uncertain. Q-learning is a model- free technique which learns through the dynamic interaction with the environment using rewa... |
I was wondering if there are any alternatives to PCA (Principal Components Analysis) for the purpose of feature reduction.
Specifically, I am thinking of a feature reduction algorithm other than PCA for image recognition applications. Any Idea?
|
Forward stepwise regression is a popular method but I found at least three different versions. I was wondering which one is the most popular, and which one is implemented in R.
Let $p$ be the total number of covariates. One version states that, given $k$ covariates have been selected, find the one from $p-k$ covariate... |
I have a problem which only has 35 observations. I like to apply around 6 variables in a VAR model to predict 25 observations into the future. Clearly, the data set is way too small. However, I do have the same sets of data for over 5000 markets. I wonder if I can leverage the large number of markets (each with 35 obse... |
I have about 1600 sequences, each 35 data points long (Its actually multivariate, so each data point is a vector). is this sufficient to train an RNN (LSTM) to do embedding?
|
t-test of a correlation coefficient is used for testing the sample correlation against population correlation of zero. To test an assumed value of the population coefficient other than zero, we should use z-test for a correlation coefficient.
Question:
What makes the tests different such that the t-test can only test ... |
I've modeled a Bayesian mixed model where my outcome is count data (using a negative binomial model) in R using the rstanarm package. My data consists of multiple observations within sections of an organization on a monthly basis. Using the predict_posterior function, I have established a posterior distribution of fitt... |
I am a newbie to this technique and much grateful if there are any advice on the norm of practicing multiple regression on the following questions as below:
I need to identify key independent variables(predictors) in total 12, which of them are the significant contributor to a problem: e.g customer is not purchasing ... |
I have to work with 1000 time series of food retail products (with weekly data).
Each of these time series corresponds to the sales of each product.
I need to obtain forecasts for each of these time series and I would like to know if I'm doing this in a right way.
STEP 1: Data Adjustment
With the group_by function (dpl... |
The points have shown a "hump" pattern but I can't really identify that is it a narrow hump or wide hump?
|
I'm interested in comparing different hospitals by their performance in a number of metrics (for example waiting times). Unfortunately the patient characteristics vary between hospitals (hospitals in big cities have usually younger patients and so on) and these mess up the comparison.
The data that I have is of indivi... |
I have data for five different elections and want to test if the influence of campaign spending on the electoral result has increased or decreased from one election to another.
I am running a linear regression with the same dependent and independent variables (B1, B2, B3, B4, B5) for each of these elections and want to... |
I am using this paper Finding Semantic Orientation of Reviews Using
Unsupervised PMI Algorithm to determine semantic orientation between a phrase and a list of words using pointwize mutual information.
For example : PMI(phrase, {"excellent", "Good"}).
My question is how Can I compute the PMI between the phrase and the... |
I have to compare three groups. Three measurements using 3 different methods on the same subjects.
The variables are not normal, and the measures concern the same people, so dependent samples. I can use Kruskal-Wallis?
I can use Wilcoxon post analysis with Bonferroni correction?
How can I use the Bonferroni correction ... |
I'm interested in modelling a process where, given $x_{1}<x_{2}$, then $P(x_{1})>P(x_{2})$, with $P(x)$ representing the density of the distribution at $x$. I know that the Exponential Distribution obeys to this, but can some one point out other's?
The variable I'm interested in is fitness, a population genetics conce... |
I would like to know which is the deviance expression in poisson regression using by xgboost tool (extreme gradient boosting).
According to source code, the evaluation function is:
struct EvalPoissonNegLogLik : public EvalEWiseBase {
const char *Name() const override {
return "poisson-nloglik";
}
inline bst_float E... |
Which libraries/implementations for Siamese networks do exist? I am most interested about R, C, and C++ implementations.
|
I'm trying to reduce a dataset with LDA. I expect that on reduced dataset (i.e. with fewer linear discriminants retained) I will have less classification accuracy. However, depending on the random seed, sometimes the reduced version is giving me higher accuracy.
# N=1000, p=50, 10 out of 50 are informative, 20 classes
... |
Imagine a model where the linear predictor of the cumulative response probabilities are equal to:
$$y = b_0 + b_1x_1 + b_2x_2 + b_3x_1z_1 + b_4x_2z_1$$
Where $x_1$ and $x_2$ represent a 3 level categorical independent variable, and $z_1$ represents a dummy variable. $y$ is a 4 level ordinal outcome variable. I want $\d... |
I am interested in how people react to new information regarding how to solve maths puzzles. I give people a maths test scored out of 30, tell people new information, and give them a similar maths test, again out of 30. I want to find out whether the information has affected the difference in score in each participant.... |
I want to test the effects of sample size on Deming regression using simulated paired data in R.
As the data are paired, the expected slope value should be 1 and the intercept 0.
The code I have so far is:
x <- runif(16,0,25)
y <- rnorm(16,1,0.05)*x + rnorm(16,0,0.5)
This generates 16 random pairs of data between 0 ... |
My dataset is a univariate monthly time series. I'm looking to predict the future values. Until now I have used ARIMA models. I've heard of other models of regression, but they need to have X and y as a training set unlike ARIMA.
Is there an efficient method to get training and testing data?
What are the best models... |
Suppose we're looking at this box-and-whisker plot:
Between Thursday and Friday, I think most would agree there seems to be a significant difference in time slept. Is that a statistically-valid conjecture, though? Can we discern significant differences due to the fact neither of the inner-quartile ranges overlap betwe... |
What would you say about the performance of a multi-label (8 labels) classifier based on the plots below and knowing its mean log-loss on training (N = 1700) and validation (N = 700) sets (1.6 and 1.4 respectively)?
|
I have the following study design:
3 factors ($F_1,F_2,F_3$), where $F_1$ has 5 levels and both $F_2$ and $F_3$ have 6 levels (so 180 "conditions" in total)
$F_2$ and $F_3$ are nested in $F_1$ and are crossed (so this is a split-plot design with 5 plots, each containing a 6*6 matrix of subplots)
The levels of each fa... |
I have some data with missing values. For the missing observations I know a range, in which the true values are. I want to use a tobit model to predict the variable with these missing values. The missing values should then be replaced/imputed by the predictions. Here is some example data:
N <- 1000
x1 <- rnorm(N, 5000,... |
Beta regression (i.e. GLM with beta distribution and usually the logit link function) is often recommended to deal with response aka dependent variable taking values between 0 and 1, such as fractions, ratios, or probabilities: Regression for an outcome (ratio or fraction) between 0 and 1.
However, it is always claimed... |
Scenario:
I have gene count (RNA-seq) data (VarC) from a mixed model experimental design that includes nested and random effects (see below).
Question: How can I normalize my data based on my experimental design? Is there any R/Python function/package for that?
Dataset: Download here.
Categorical variables: VarT, VarM... |
Bayes' rule is given by:
$$P(\theta|X) = \frac{P(X|\theta)P(\theta)}{P(X)}$$
Where $X$ are observations and $\theta$ is some model parameter. I would like to use an alternate notation to more strongly differentiate between the prior $P(\theta)$ and posterior $P(\theta|X)$ distributions. Is it appropriate to write:
$$P(... |
Even though this may first appear coding-related, I am not interested in the particular code, but rather in the interpretation of the resulting plots. Therefore, I though this is more appropriate here rather than on Stack Overflow.
Here are the data:
MyData <- structure(list(site = structure(c(3L, 1L, 5L, 1L, 2L, 3L, 2... |
For hypothesis testing, do I need to look at $R^2$ of the model (multiple linear regression) when I want to calculate Cohen's effect size $F^2$ ($F^2$= $\frac{R^2}{(1-R^2))}$? I heard that P-value is not sufficient for hypothesis testing alone.
|
This question concerns the calculation of the evidence, or marginal likelihood, from an existing MCMC sample without having to resample. There is an exhaustive and very helpful answer here:
[Computation of the marginal likelihood from MCMC samples
I'm still not clear about nested sampling.
Is this algorithm below righ... |
I've been trying to analyse a dataset of response times following Lo & Andrews' (2015) proposal here: https://doi.org/10.3389/fpsyg.2015.01171
They propose using a GLMM that assumes a Gamma or inverse Gaussian distribution (with an identity link function). For example:
glmer(rt.cut ~ (1|subject) + (1|targetnumber) + pr... |
I have a situation where I have an increasing list of real numbers $\vec a$ of variable length (generally about 50 numbers but sometimes more). It turns out that these numbers uniquely correspond to two smooth, continuous functions $f(x)$ and $g(x)$, with $x$ spanning from 0 to 1.
Given a list of numbers $\vec a$, I w... |
Ken Rice has a helpful introductory set of slides available online called 'Bayesian Statistics (a very brief introduction)'.
http://faculty.washington.edu/kenrice/BayesIntroClassEpi515kmr2016.pdf
On slide 23 he gives this formulation, which comes directly from Bayes theorem:
Posterior ∝ Likelihood × Prior
However, with... |
If $X$ follows a Binomial distribution with parameters $n$ and $p$, what can we say on the distribution of $n\choose x$ and $x\choose n$ ? ($x$ is realization of $X$).
|
There are many literature emphasize Expectation Maximization method on mixture models (Mixture of Gaussian, Hidden Markov Model, etc.).
Why EM is important? EM is just a way to do optimization and is not widely used as gradient based method (gradient decent or newton's / quasi-newton method) or other gradient free meth... |
Assume you conduct 100 significance tests in a single study (maybe something like genome-wide association study). In order to address the issue of multiple testing and to keep the family-wise error rate at 5%, the p-values are adjusted, e.g., using Bonferroni or FDR (Benjamini-Hochberg). Are significance tests that are... |
I have done a three way ANCOVA in R. I am testing how temperature, the development stage and the size of a carcass affect the development rate of maggots.
My response variable is Duration (a measurement of hours) and my factors are Size (2 levels = small and large), and Stage (7 levels = eggs, 1st instar, 2nd instar, 3... |
I read so many explanations about convolutional networks, but they seem to miss important details.
Which is true?
They do backpropagation from top to bottom, down to the deepest convolutional layer.
-- or --
The convolutional layers use unsupervised learning. Only the topmost layer uses supervised learning and grad... |
I was asked this question the other day and had never considered it before.
My intuition comes from the advantages of each estimator. Maximum likelihood is preferably when we are confident in the data generating process because, unlike the method of moments, it makes use of the knowledge of the entire distribution. Sin... |
Do neural networks implicitly learn correlation between outputs when performing multi-label classification or multi-output regression? If not, is there a way for them to do so? I have seen that there is work on using RNN's to capture label interdependence for multi-label image classification and captioning. However, I ... |
In my experiment, repeated measures of $d'$ (computed from hit and false alarm rates) are computed for a small number of subjects (<10) under multiple (10) conditions. Primarily, I am interested to see if any of the 9 out of 10 conditions differ from the control condition.
I am wondering if I am supposed to use a non-p... |
In some references equation (20) people tend to average or normalize the back propagated error by the number of examples in the mini-batch before updating the weights. while in other references is not the case.
I never averaged this error. Is there any explanation why it is used or not ?
|
I have 8 subjects. They were all tested under 2 different conditions, 5 sessions of each, with 14 trials in a session. Total data points: 1120. No data is missing. 2 dichotomous DVs were measured every trial (Did they make a response? and Did they do the task correctly?). I want to know if responding predicts correct t... |
The question is as follows. Suppose that $(X_1, X_2, X_3) \sim Multinomial(n, \theta_1, \theta_2, \theta_3)$, where
$$ \Omega = \{(\theta_1, \theta_2, \theta_3) : 0 \leq \theta_i \leq 1, \theta_1+\theta_2+\theta_3 = 1\}$$
and we observe $(X_1, X_2, X_3) = (x_1, x_2, x_3)$.
I determined the MLE to be $\theta = (x_1/n, x... |
Find a second degree parabola to the following data with 1999 as origin
Years 1997 1998 1999 2000 2001
Value 10 17 28 43 62
(b) What would be the equation of the second degree parabola when origin is shifted to 2001?
I HAVE PROBLEM WITH (b) part. How to shift?
|
Suppose $X_1, X_2,\ldots,X_n$ are random variables distributed according to p.d.f's $p_{X_1},p_{X_2},\ldots,p_{X_n}$ (most of which are extremely right-skewed). We randomly sample $S$ values from each distribution.
Consider two ways of aggregating these distributions:
a. Assuming that $X_1, X_2,\ldots,X_n$ are all ind... |
I would like to compute a correlation between observed values of X and Y, but the data is such that the values of X are discrete (and few), and with an equal number of data points for each value of X, as illustrated below.
This seems to me violate the (I believe, default) assumption for a function to only have one va... |
If we already have let's say mean squared error as a loss function which can tell how good our algorithm is, then why we calculate the expectation of loss function as Risk?
Apologies, if this a naive question since i am new to machine learning.
|
Per the Wikipedia on conjugate priors link, the conjugate prior for a Gamma of unknown $\alpha$ and $\beta$ is proportional to an expression involving both $\alpha$ and $\beta$ as well as a $\Gamma$ function and 4 parameters.
Previously, I have had experience using conjugate priors for multi-parameter distributions (na... |
I am trying to account for spatial autocorrelation in a linear mixed-effects model in R with measurements repeated in time. BodyMass has been collected once per Year in 150 different Sites over a 4-year period. Temporal autocorrelation should be negligible as body mass measurements are taken from dead animals.
As corre... |
I have some compositional data, and I intend on using log ratio analysis. However, if my data could be modelled to be Dirichlet distributed, then that might be a more preferable approach. But how do I check that?
|
I have a dataset in which one of the categorical variable which is used as a predictor in all of my models has unequal frequencies of its different levels. For example - "Media Type" has multiple levels: TV, Radio, Newspaper, Online.
But one of them - e.g. Radio, has only a small amount of observations (it's not a prob... |
The lower and upper bounds of the 95% confidence interval of the mean of a random variable with normal distribution of known variance $\sigma$ are $\bar{x}-1.96\frac{\sigma}{\sqrt{n}}$ and $\bar{x}+1.96\frac{\sigma}{\sqrt{n}}$.
$n$ is the size of the sample and $\bar{x}$ is the mean value of the sample.
One assumption... |
I coded the amount of speech that participants used during several tasks and I want to use this information to predict performance on other tasks. I also want to test whether speech on one task is related to speech on another. Specifically, I coded whether or not speech was used on a given trial of a task, and calculat... |
I have a dataset having 252 observations. There are two variables having a defined and known linear relationship. By computation, I found 4 observations do not follow the linear equation, and I conclude the difference is due to data entry errors.
Although those two variables are not used in my regression model, I am st... |
Assume we label both sides of a coin as $x=\{1,2\}$ instead of $\{\text{Heads}, \text{Tails}\}$. We flip the coin 7 times and record frequencies of $f=\{3,4\}$. According to Laplace Rule of Succession (link) the probability of flipping $x=1$ on the next flip is
$$P(X_8=1 \mid X_1,X_2,\dots,X_7)={3+1 \over 7+2} = \frac ... |
I'm trying to understand how the book arrived at the second blue box from the first blue box. I'm thinking that there is some sort of substitution going on based on the pi_c.
|
I am using bagging approach in R to predict average Ozone data. I have a confusion that, can I use bagging method to predict average Ozone? Since it is continuous variable. I read some articles where they applied bagging approach for binary variables (class).
|
I work as a data analyst, primarily in SQL, providing operations data to internal customers. I rarely do statistical analysis.
Recently, internal customers have been coming to me with data from badly designed projects (no control group, no planned methodology, etc) and asking me to do data analysis on their results s... |
To be specific, suppose we have $(n,1)$ random vector $x \sim N(\mu, \Sigma)$ where $\mu$ is $(n,1)$ and $\Sigma$ is $(n,n)$. Define:
\begin{align*}
Y & = x'Ax + b'x + c
\end{align*}
Then what is the following (for $t \in \mathbb{R}$)?
\begin{align*}
E(e^{tY})
\end{align*}
|
Suppose, I expected, before a paired-samples t-test study (n = 40), that the effect size is going to be negative in direction and thus use a half-Caushy prior ranging from (-Inf, 0) over the effect size. Contrary to the expectation, the study finds t = 5 (a pretty large, positive t-value). But why I still get so much s... |
I had 2 different sets of data which I wanted to compare using a boxplot. However the number of samples / entries I have for each of the 2 types differ.
Should I just create a boxplot for both of them even though the counts don't match or should I be performing some kind of random sampling in the data which has a highe... |
I've been learning about endogeneity but after looking around online I've gotten more and more confused about what the definition is.
Most pages say that in a model $y=X\beta+\epsilon$ the definition of endogeneity is $E[X'\epsilon] \neq 0$. But a lot of these same pages say that endogeneity is when $X$ is correlated w... |
I have a couple of questions regarding differences in loading values when using prcomp and principal (from the psych) package to perform PCA
When conducting PCA using prcomp:
pca_results <- prcomp(df, center = TRUE, scale. = TRUE)
pca_results$rotation[,1:5]
I get the following loadings:
PC1 PC2 ... |
I have a model with one particular variable giving me trouble. It is a factor variable with 2 levels, 'ADT' and 'CHD'
Using the predict(model,data, predict.all=TRUE,nodes=TRUE), I traced things as needed.
The row in question of the model (obtained from getTree(model,1))
shows as seen in pic.
According to documentatio... |
I am thinking about one question, the result seems weird, but I could not figure out where I went wrong.
I have two random Bernoulli variables $X$ and $Y$.
$P(Y=1)$
$=P(Y=1, X=1)+P(Y=1,X=0)$
$=P(Y=1|X=1)P(X=1)+P(Y=1|X=0)P(X=0)$
$=P(Y=1|X=1)P(X=1)+P(Y=1|X=0)(1 - P(X=1))$
$=P(Y=1|X=0)+[P(Y=1|X=1)-P(Y=1|X=0)]P(X=1)$
It s... |
I just finished reading this discussion. They argue that PR AUC is better than ROC AUC on imbalanced dataset.
For example, we have 10 samples in test dataset. 9 samples are positive and 1 is negative. We have a terrible model which predicts everything positive. Thus, we will have a metric that TP = 9, FP = 1, TN = 0, ... |
When making a histogram to compare two things say the homerun distances of two baseball players, do you have to use the same numerical scale (range) on the x axisfor each even if their homerun distances do not start at the same distance? and should the bars touch?
|
Suppose I have a sample drawn from a population which is approximately distributed i.i.d. according to the Pareto distribution for values of x greater than X*. Suppose, moreover, that the tail index 1 < α < 2, so the variance is infinite but the mean is finite.
I am interested in the value of the mean of the portion o... |
I read this:
But I'm still not sure if I understand what $\Sigma$ is. Does this mean to take the covariance of the entire data set with all classes mixed in, to take the covariance matrix for one class and assume it's the same for the others (even if it isn't), or to average the covariance matrices for the different c... |
I want to find the determinants of choice of delivery by expecting mothers in India where we have 3 categories:
home
public health facility
and private hospital
For each category, I know the total number of deliveries and aggregated determinants such as female literacy percentage, percentage of villages without hea... |
I have problems understanding a basic quiz about sensitivity and specificity and, probably, with understanding of these basic concepts. The quiz goes:
"Suppose that we have created a machine learning algorithm that predicts whether a link will be clicked with 99% sensitivity and 99% specificity.
The rate the link is c... |
How would one sample observations $T_{ij} = U_i + \varepsilon_{ij}$, where the distribution of $U_i, \varepsilon_{ij}$ are known and mutually independent, condition on the fact that $L_{ij} \le T_{ij} \le R_{ij}$?
I considered trying Gibbs sampling, but the resulting full conditionals don't seem to simplify. Any help a... |
If $Y_{1},Y_{2}, \cdots, Y_{n}$ are independent Binomial random variable with sample size $m$ and different probabilities $p_{i}$ $(i=1,\cdots ,n)$, Could the distribution of $X=\max (Y_{1},Y_{2}, \cdots, Y_{n})$ be an extreme value distribution?
|
New_cust1 <- cbind(New_cust, Prob=predict(fit2, New_cust, type = "response"))
View(New_cust1)
New_cust1$default <- ifelse(New_cust1$Prob>XXX, 1, 0)
sum(New_cust1$default)
|
I am using cross_val_predict to generate cross-validated estimates using Ridge Regression:
reg = linear_model.Ridge(alpha = .5)
pred_r = cross_val_predict(reg, X, y, cv=None)
Based on this, the correlation between the predicted y and the real y is (0.114601783602, 0.00312638915351).
However, when I use RidgeCV inste... |
So I'm experimenting with a feed forward network, I'm trying to learn how to use neural networks, and I'm some what confused when it comes to selecting features, hidden layers and neurons.
I have 2 datasets that I'm playing around with. Both datasets have 113 features where dataset 1 has about 630 datapoints and datas... |
If you have crime statistics, say for 12 months, with a total of x. You divide that number to get, say 13 incidents per month.
Now, assuming that these data follow a Poisson distribution, what I'd like to be able to predict is the likelihood of being a crime victim. However, I'm not sure I am using this data correctly.... |
As a student if traffic engineering/planning I'm a little confused about the use of OLS on count data. I'm currently reading Ortuzar and Willumson's book - Modelling Transport.
We've been assigned to build an OLS model with dependent/independent variables of our choice. In Ortuzar and Willumson's book, an OLS is discu... |
I am trying to understand Maximum likelihood estimation but it looks like I am missing something rather elementary.
suppose we have an iid random sample $X_1, X_2,..., X_n$ for which the probability density function of each $X_i$ is $f(x_i; \theta)$ where $\theta$ is an unknown parameter. Then, the joint probability ... |
When analyzing the results of a VAR model with 12 lags, should i take care for the coefficients of all 12 lags, or should i only look up for the coefficients of the last (12) lag?
|
Is ordinal regression and ordered ordinal logit model the same? I read that there are different types of ordinal regression. How can I understand which type of ordinal regression should I use and analyze in SPSS in a simple way?
|
The number of coins that Mr.X spots when walking to work is poisson random variable with mean 6. Each coin is equally likely to be a penny, a nickel,a dime, or a quarter.Mr.X ignores the pennies but picks up the other coins.
(a) I want to Find the expected amount of money that Mr.X on his way to work.
(b)I want to find... |
With TensorFlow I've successfully built a neural network that recognises MNIST numbers at 99.2% accuracy. The last layer of the network is the softmax layer, which does output percentages. The AdamOptimizer is used for training and cross entropy is used as the error function.
However, I'm not quite satisfied with the r... |
Is it possible to fit a NN given pairs (X, Y), such that NN(X) = Y using maximum-likelihood (ML) and not gradient descent (GD)?
Example:
I have a NN with weights W
I feed it with 10 samples X and get 10 output Y
I add noise e and get new output Y+e
I evaluate Y+e and assign them some weights
How do I perform a weighte... |
I am reading the Deep Learning Book, where there is a section on generalisations of the ReLU (section 6.3.1).
It states:
The second derivative of the rectifying operation is 0 almost everywhere, and the derivative of the rectifying operation is 1 everywhere that the unit is active. This means that the gradient directi... |
Question: What is the most beginner-friendly book for information geometry?
The book:
Amari and Nagaoka, Methods of Information Geometry,
is often mentioned as a reference for information geometry.
However, Amari has also written several other books about the subject, at least two of which also seem like they are o... |
Assume I have two data groups, labeled A and B (each containing e.g. 200 samples and 1 feature), and I want to know if they are different. I could:
a) perform a statistical test (e.g. t-test) to see if they are statistically different.
b) use supervised machine learning (e.g. support vector classifier or random forest... |
I am trying to find out the expression of the CDF of the product of two independent non-central chi distributions (not chi-squared) each with $k=2$ degrees of freedom. As I understand, non-central chi distribution (with k=2) is square root of the sum of squares of two Guassian random variables of different means and va... |
I have a survey of N = 338 responses. If I analize the Age column, I can see that it is more or less normally distributed (mean = 48.2; sd = 14.4).
The histogram + normal curve overlay:
The Q-Q plot:
The density plot + normal curve overlay:
So far, so good.
But when I use a Boolean field Diabetic, and look at the su... |
apologies if this appears too simplistic/poorly worded a question, this is my first time coding in R
I am attempting to fit the LPPL model to a price series in order to test for its predictive power for financial crashes. As I understand the difficulty in fitting the model is due to the number of variables leading to m... |
I'm running a multiple correspondence analysis in R using the FactoMineR package:
mca_fit <- MCA(df, ncp = 7, quali.sup=c(1), na.method="Average")
I'm trying to get loading values for each item, which I do by running the following (as recommended by the FactoMineR website):
sweep(mca_fit$var$coord,2,sqrt(mca_fit$eig[1... |
I am working with very noisy biological data for which I will compare two experimental settings. For each setting I will get a set of measure with a huge variance, sometimes with a skewed distribution, but sometimes not (after log transformation).
If I want to statistically compare my two experimental settings should ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.