instruction stringlengths 9 38.7k |
|---|
The Kullback–Leibler (KL) divergence of two continuous distributions $P(x)$ and $Q(x)$ is defined as
$$D_{KL}(P \mid\mid Q) = \int_{X} P(x) \log{\left[\frac{P(x)}{Q(x)}\right]} dx$$
How can one compute the KL divergence when $Q$ is the Dirac delta function $Q(x)=\delta(x-x_0)$?
Of course, we can expand the logarithm ab... |
I have a simple regression setup:
$Y$ = $\alpha$ + $\beta X$ + $\gamma Z$ + $\delta XZ$ + $\epsilon$
As you can see, the variable X is interacted with Z and the interaction coefficient of interest is $\delta$
In my dataframe, I have many possible variables for Z and I would like to choose automatically the best one.
T... |
What is the unit of root mean square error (RMSE)? For example if we get an RMSE of 47 from a regression model, what does it tell in terms of unit?
|
I am modelling the average claim amount (claim amount/number of claims), so i used a gamma glm with weights=number of claims, as:
> model<-glm(claimamount/numclaims ~ 1 + veh_age + zone + insured_age,
> family=Gamma(link = "log"), weights = numclaims)
After this i want to find the log likelihood at each observation, b... |
For $Y \sim \operatorname{Pois}(\mu)$, a Poisson random variable and $X_i \sim \operatorname{Pois}(\frac{\mu}{n})$, a sequence (in time) of independent and identically distributed RVs, it is well known that:
$$Y \sim \sum_i^n X_i.$$
My question is whether there exist analogous random variables $X_i$ (I don't think they... |
I have some time series data, where each data point in the time series has a timestamp and a value. For example:
Time 1 value 5
Time 2 Value 7
Time 3 Value 10
Now at a given time X, I want to obtain an approximation on the average of recent values in the time series. For example, consider that the time seri... |
I have data about locations (Provinces, cities, postal codes, etc). Some of my postal codes are missing, and I think there may be a relationship between province and the missing postal code.
I can determine the proportion of missing values by taking the quotient of number of missing items divided by total counts for t... |
Basically I do not understand the mathematics behind the follow in Andrew machine learning on anomalous detection.
X = bsxfun(@minus, X, mu(:)');
p = (2 * pi) ^ (- k / 2) * det(Sigma2) ^ (-0.5) * ...
exp(-0.5 * sum(bsxfun(@times, X * pinv(Sigma2), X), 2));
The P signifies the multivariate Gaussian distribution
|
You have two jars of cookies, jar 1 and jar 2. Each jar starts with $n$ cookies initially. Every day,
when you come home, you pick one of the two jars randomly (each jar is chosen with probability
$1/2$). One day, you come home and reach inside one of the jars of cookies, but you find that is
empty! Let $X$ denote the ... |
In my head, these two words (learning and training) seem to somehow have a fuzzy boundary between them.
For example, the word learning for me conveys the idea of training; if I want to learn something, I train myself in it!
When talking about machine learning algorithms, this happens too. I often find myself wondering ... |
I have a interesting problem, where patients are categorized in three groups, namely Severe, Moderate, and Mild and they are measured over two time slices. Each particular cell represents proportion of patients with each category.
| Severe | Moderate | Mild |
------------+--------+----------+------|
Timepoi... |
I have a moment problem with arbitrary moment functions $f_i$ and a finite number of constraints,
$$
\int p(x) f_i(x) dx = c_i.
$$
Does the existence of an exact Pade solution of the form,
$$
p(x) = \sum \kappa_i \delta(x - x_i),
$$
imply the existence of a solution to the maximum entropy (MaxEnt) problem of the form
$... |
In the svm function, you can apply three cases to the kernel parameter. "Linear," "radial," and "polynomia."
And I try to derive the optimal svm result by adjusting cost, gamma and degree parameters.
What values should be used in each kernel?
linear kernel :
radial kernel :
polynomia kernel :
What parameter do i ha... |
Let's say I want to perform a clustering analysis of paintings based on the their use of colour. This gives me three levels of analysis:
L1: Individual paintings
L2: Individual colours present
L3:Individual aspects of colour use
Thus, Mondrian's Composition in Red, Blue and Yellow (L1) uses 3 colours (L2) in a linea... |
I have some data I want to classify as $A$ or $\bar{A}$ (not-$A$) based on two metric features $M$ and $P$. It seems straight-forward to calculate a posterior probability, that a given combination of $M$ and $P$ exhibits $A$, simply by dividing histograms. Is this a sensible way to do this?
I calculated a large number ... |
I have data about the dates/times a user logs in and out of a system. I am trying to model the likelihood a user will be logged into the system at any particular time of day. I want to fit a Gaussian mixture model to the data to do this. I will be using Python and scikit-learn.
I am not sure how to input that data into... |
I have the following dataset from a before-and-after study which shows population counts of five species of liverworts during two sample periods (the years 2013 and 2017). I wish to test whether there has been a significant change in the population counts between the sample periods. What is the most appropriate statist... |
Can you please provide a math formula or an Excel example (math operations and Excel functions jointly used) to compute the probability (area) of overlap of two normal distributions having EQUAL variance?
The original data are as follows:
Mean 1 = 1145
Mean 2 = 1214
Standard Error of both distributions = 276
Variance... |
I have a serie of data ranging between [0,1]. I'm trying to fit this data using beta distributions. Given an extra point, between the same range, I would like to obtain a significance respect to the distribution. In a normal distrbution, I would apply a two tailed test. But I'm not sure if this same approach could be a... |
I have a Data that Distribute as Log-Normal.
I do a log transformation in base e. And build a linear model. And after that I backward to original data with $e$$^Y$$e$$^{Var(Y)/2}$.
Back transformation With base e
But What if i want to use log in base 10 or 12?
How i wiil back transfrom my data?
Thanks.
|
I am working with 3 waves of survey data. Many people have been surveyed multiple times, but many others are present only in 1 or 2 waves due to drop-off/resampling. Therefore, my design is multiple cross-sectional taking into account clusters of respondents across time.
My outcome is access to a specific service over ... |
If X∼Gamma(a1,θ1) and Y∼Gamma(a2,θ2), where X and Y are dependent random variables, what is then the way to calculate the expectation of the sum X+Y.
Have searched for it only but cannot figure it out.
|
Our data set consists of a matrix with a few thousand respondents (rows), many items of ten surveys (columns), and all 0’s and 1’s for a certain survey answering behaviour (either responding ‘I don’t know’ (=1) or not (=0)), that is, a 1 or 0 for every filled out item for each survey. We use the package lme4, the funct... |
I have been trying to sharpen my GLMM knowledge by working through some problems in Foundations of Linear and Generalized Linear Models. I am stuck on problem 9.36 which gives some homicide data then states "fit a Poisson GLMM. Interpret estimates. Show that the deviance decreases by 116.6 compared with the Poisson GLM... |
I have a large set of data, and two distinct ways of labelling that data, that aren't inherently linked but I suspect they may be. Each method takes a piece of data and assigns it one or more labels, but there are no labels that overlap between the method. For example:
Item Labels (A) Labels (B)
Cow (4 ... |
Just a hypothetical question: What happens if I do a second principal component analysis over the principal components derived from the first principal component analysis?
What will be the difference between the eigenvectors derived from the first and second PCA? Will there be any loss of information?
|
I have a small sample size of 15. I want to see if there is a difference in the nutrient intakes between two independent variables, group 1 n = 11, group 2 n= 4. The data is not normally distributed. Which test is more appropriate, the Mann Whitney U or the Kolmogorov-Smirnov Z test? Andy Field's Discovering Statistics... |
I use aov() in R to do anova when groups has same size. Otherwise Estimated effects may be unbalanced.
Is same sample size required in anova?(never mentioned in statistics textbook)
Which function can be used to compare groups with different size?
|
I know what the significance level is and how hypothesis testing works, so this is primarily a terminological question.
In hypothesis testing, the so-called "significance level" $\alpha$ equals the probability of falsely rejecting a true null hypothesis. If this value is particularly low for a given test for which the ... |
In the documentation to R's glmnet package it states that when fitting an elastic net, the glmnet function will use a series of $\lambda$ values starting at the smallest $\lambda$ for which all coefficients are zero. How can I find such a value of $\lambda$?
|
I am new to spatstat.
I have a set of replicated patterns, I perform L test for each pattern and I pool the resulting statistic (using pool statistics in spatstat). Now I would like to perform a statistical test like dclf or mad on the pooled data, so I can make a conclusion about the population. Could you please advi... |
I would like to fit a regression-like model where I have all the predictor-variables on the individual level, but my target value only on some aggregate-level. So for many groups of individuals, I have the summed up target-value but not the individual target.
I could imagine to change OLS a bit and use a function like ... |
I am considering an approach to adaptive approximate Bayesian computation technique (ABC). The acceptance rejection algorithm is used wherein proposals from the prior are accepted if the simulated data $X_\text{sim}$ matches the observed data $X_\text{data}$:
\begin{equation}
\rho(X_\text{sim},X_\text{data}) < \epsilo... |
The graph shows the cumulative probability distribution function for the sum of two fair dice. Why is the probability (y axis) of a given random variable (x axis)shown as lines, and not simply as points?
Also, why is there a large line that extends at x = 12? You can find the table here:
|
how can I convert a negative log likelihood to likelihood between 0 and 1 ?
I use HMMs package in R and I keep getting strange results of the log likelihood for example, -48569 !
I need to understand these values so I can pick the best model.
any advice will be appreciated.
thanks
|
Let's say, I have two math problems (puzzles), like:
ProblemA) Solve $ax+b=0$ and
ProblemB) Solve $ax^2+bx+c=0$
and would like to check how similar they are.
I ask 1000 people to solve these two problems, and learn that k people solved both, m - solved only P1, n - solved only P2 and l - solved neither.
Now I can calcu... |
Here's a problem from Harvard's Stats 110 class:
Let $Z \sim N(0,1)$ and let $S$ be a "random sign" independent of $Z$, i.e., $S$ is $1$ with probability $1/2$ and $-1$ with probability $1/2$. Show that $SZ \sim N(0,1)$.
Here is the proof, given by professor Blitzstein:
Condition on $S$ to find the CDF of $SZ$:
\b... |
I have a computationally expensive function $f(a, b, c, d, e)$ that outputs an array of size $m$ containing sorted integers. I wish to use a machine learning technique to predict, given the variables $a, b, c, d$ and $e$, what the array will be. The machine learning model will have plenty of data to be trained on.
The ... |
We are wondering whether it would be possible to use the same variable twice in a model: Once dichotomized, once continuous. The variable are questionnaire scores and participants are pre-screened to fall into extreme groups (so the middle is missing). The idea is that the two groups are qualitatively different from ea... |
My work involves Classification --e.g. Logistic Regressions-- in a relatively High Dimensional setting (i.e. 300 to 1,500 variables).
I wonder if the Bonferroni and FDR corrections have any relevance for my work. Your advice will be appreciated.
More specifically, my question is: Are the Bonferroni and FDR tests appl... |
why for example seasonal ARIMA(1,0,0)(1,0,0) does not include seasonal differencing. Existence of seasonality imply the need for seasonal differencing? Please explain this corellation.
Regards,
Nikola
|
I need to calculate the variance of the following product on the log scale,
$$
Z \sim \alpha \beta X Y
$$
where $\alpha$ and $\beta$ are both scalars and $X \sim LN(\mu, \sigma^2)$ and $Y \sim U(a, b)$. $X$ and $Y$ are independent of each other. What I'm interested in is,
$$
Var(\log Z)
$$
On the log scale the s... |
I have a feature selection and regression task in which a dataset dataset is provided with 64x3000 numeric data. I want to use the best features for best settings possible for a number of learners (i.e., linear regressor and decision tree). I use mlr package in R. If I understand the provided tutorial correctly, I have... |
PCA is recommended before AE for uncorrelating the inputs (ref).
Autoencoders being neural networks, they're good for non-linear dimensionality reduction (wikipedia).
PCA is a linear technique
With PCA ahead of AE, doesn't this screw up the ability of the AE to detect non-linear relationships?
EDIT 1: I ran a few exp... |
I have a problem I need to solve.
I have on average about 5,000 new documents that are created every month, and I need to determine what would be my optimal sample size so that I don't need to check all of them.
However, there is a requirement that no more than 1.25% of all document can have mistakes in them.
Meaning t... |
I would really appreciate anyone's advice on my modeling in MPlus :)
So we are interested in estimating the indirect effects of X1 (t_health) and X2 (t_freq) on Y (cesd) through M (pa). PA is a binary bariable (1/0).
Q1) Should I treat PA as a categorical in "variable" command? This is a predictor as well as an outcome... |
I've been working with State-Space modelling in R using the KFAS package and I'm a bit confused as to what exactly a 'State' is..
I know that in state space modelling, we have an observation equation and a state equation, I have a general understanding of the observation equation but not exactly of the state equation.... |
Suppose that we are interested in estimating a quantity $\theta$ with an estimator $\hat{\theta}$, and seek to minimize error in the $l_2$ sense, so our loss is $||\theta - \hat{\theta}||_2$.
It is well known that this loss may be decomposed into the sum of squared bias and variance of the estimator. It is also well kn... |
The Fundamental Theorem of Simulation
Simulating
$X \sim f$
is equivalent to simulating
$(X,U) \sim \mathscr{U}\{(x,u): 0<u<f(x)\}$
The proof is trivial.
One thing that is made clear by this theorem is that we can generate X in three ways:
first generate $X \sim f$, and then $U|X=x$, but this is useless because we alr... |
I am looking to compare individual's scores on different factors which have been computed based on responses to a survey. Specifically, the survey data corresponds to 4 factors, [call them Factor A, Factor B, Factor C, and Factor D] and I would like to know whether any individual, or group of individuals, has a propens... |
I have 1249 census tracts in Colorado. I've grouped them into three groups, based on whether or not they are in "hot spots, "cold spots", or "neither" for their smoking prevalence (%). I'm trying to see if the proportion of adults living in poverty are statistically different among these groups. For each of the 1249 tr... |
I am doing some data analysis in R and have reached a roadblock due to limited statistical knowledge. Basically I am trying to find a significant difference between two models. These models were made basically by splitting a data set in half. In the middle of the study, we implemented an environmental change and are tr... |
I have weighted data (Dist = "Distance") that I expect to be in a Gamma distribution. There are about 28,000 observations that expand to a population of about 730,000.
I intend to use R to graph the data and estimate the parameters. The data look like this:
SAMPN Dist LTWeight
100051 0.06 27.74877089
100052 ... |
Say we have a sample from two populations: A and B. Let's assume these populations are made of individuals and we choose to describe individuals in terms of features. Some of these features are categorical (e.g. do they drive to work?) and some are numerical (e.g. their height). Let's call these features: $X_1 \ldots X... |
If A causes B which causes C, is there omitted variable bias when regressing B on C without including A?
Let's say I know the hot weather causes (or at least tends to cause) people to order larger quantities of ice cream (per order). I want to know the effect of 1 scoop of ice cream on service time (per order) at an i... |
As a bit of background, I'm trying to design a convolutional neural network that takes in a spectrogram input image where each input's label is a binary number being either 0 or 1. Then at the end of my network I have an output that also ranges from 0 to 1, but is continuous rather than discrete. As far as I know and h... |
So, let's say I have the following 2-dimensional target distribution that I would like to sample from (a mixture of bivariate normal distributions) -
import numba
import numpy as np
import scipy.stats as stats
import seaborn as sns
import pandas as pd
import matplotlib.mlab as mlab
import matplotlib.pyplot as plt
%matp... |
Let $X_i's$ be independent $i=1,2...n$ with $X_i\sim N(\mu+\alpha_i, \sigma^2)$ for each $i$. Let $\theta=(\alpha_1,...\alpha_p,\mu,\sigma)$ and $P_\theta$ be the joint pdf of the $X_i's$.
So, $P_\theta=(\frac{1}{\sqrt{2\pi}\sigma})^n e^{\frac{-1}{2\sigma^2}\sum_{i=1}^n (x_i-\mu-\alpha_i)^2}$
From what I understand, a ... |
In an earlier question, I asked about the limiting distribution of the square root of the absolute value of the sum of $n$ i.i.d. random variables each with finite non-zero mean $\mu$ and variance $\sigma^2$. The answer was (after a suitable location and scale adjustment) a standard normal distribution.
This time I a... |
I want to find out the statistical model for which local linear
regression arises as a maximum likelihood estimator (MLE).
We are given data $\{ y_i \}_{i=1}^n$ with $y_i \in \mathbb{R}$ and
designs $\{ \mathbf{x}_i \}_{i=1}^n$ with $\mathbf{x}_i \in
\mathbb{R}^m$. Given these, we want to predict the response for a new... |
Although there is lots of information on all three subjects, I could not find information on how to solve my specific issue. Most likely that is because I am not an expert in statistics and might have overlooked something. If someone knows of a link that deals with my specific question I will be most happy. If there is... |
I thought I got problems like this already but looks like I'm stuck again.
Let $x_1, x_2$ be a random sample $\sim Ber(\theta)$
The objective is to find the UMVUE for $\theta^2$
A hint was provided in the form of a question, which is to show that $T=x_1x_2$ is unbiased for $\theta^2$ which I was able to do.
Next, I co... |
I have heard that the main reason to use out-of-bag sample(OBB) over CV is that OOB is faster to implement and usually gets the same results(for tuning the hyper-parameters) as implementing CV when the Random forest model is used.
If this isn't true, in which cases using CV gives better results?
|
i wanted to find out the association between two variables and it reduced to 6X4 contingency table. grand total is 103. the spss output of chi square test displayed "82.1% cells have expected count less than 5". test shows as significant by the p value. is this reliable enough to reject the null hypothesis? or how to m... |
Imagine you have a dataset of rower lap-times with several predictor variables, such as weight, benchpress, deadlift, squat, nutrition quality, etc.
Now, let's say for a given rower, you want to reduce her lap time, but you can only train along ONE DIMENSION. How would you identify the best predictor to optimize? Assu... |
Recently I am dealing a classification problem with some algorithms, say logistic regression.
When I preprocess my data, I standardize all my features and generate polynomial features based on them first.
from sklearn.preprocessing import PolynomialFeatures, StandardScaler
and I do
features = std.fit_transform(feature... |
I have a question in mind about machine learning systems. Say, I have a named entity extraction systems which give me an accuracy of 90%(precision 90, and recall 90) during training and testing. How can I assure that the same system will perform with 90% precision and recall in runtime? In the case of a completely n... |
I'm using Metropolis-Hastings algorithm to evaluate the posterior distribution of the parameters of a hierarchial Bayesian model. What is considered a healthy acceptance rate for the Metropolis-Hastings algorithm? Should the hyperparameters and parameters have the same acceptance rate? Or should they be different?
I p... |
I have been trying to look for the analogous version of the PACF for cross correlation, but there seems to be no such thing... why is this? Is it not possible to extrapolate the algorithm used to calculate the PACF to two time series?
From my understanding, the CCF is merely the correlation between the lags and leads ... |
I can calculate Shannon entropy from an empirical distribution, where $p_i = \frac{n_i}{n}$ for counts $n_i$ and their sum $n$.
However, it seems that on average this value is lesser than actual entropy (simplest case: for a sample of size $n=1$ entropy is always $0$, where in fact it can be anything).
I've heard that ... |
Let $h(t\vert \theta, x)$ be a hazard function with parameter vector $\theta$ and covariate vector $x$, and let $H(t\vert \theta, x) = \int_0^t h(s\vert \theta, x)ds$ be the corresponding cumulative hazard function. Let also $\pi(\theta)$ denote the corresponding prior distribution. Suppose that $H(t\vert \theta, x)$ i... |
I did a repeated measure correlation (package: rmcorr) inculding two data points. But if I look also at the correlation separately for each point, I´m a little bit confused because the repeated measure correlation gave me a positive correlation and the separate correlations gave me at each point a negative correlation ... |
First of all: I know, there is no general number of sample size required to train a neural network. It depends on way too many factors like complexity of the task, noise in the data and so on. And the more training samples I have, the better will be my network.
But I was wondering: Is it theoretically possible to trai... |
I'm looking at the relationship between population density (X) and ad impressions (y). These features aren't normally distributed so I log both to create a linear relationship. The relationship looks great once I do this.
My final goal is to add categorical features to the regression to see what relates to over or u... |
I have a question with regards to estimating time-varying effects in event history analysis with competing risks.
To give more context: the main idea of my study is to gain more insight into the factors that influence graduation in higher education. More specifically, I'm looking to have more insight into how a time-va... |
Since a similarity/distance measure is crucial for every clustering algorithm, I wonder what this measure is for LDA.
Since LDA works on text as a bag-of-word model, can someone imagine the similarity between topics (clusters) are the representative words between those clusters?
For example:
topic 1: [dog, cat, animal... |
Increasing complexity of models results in over-fitting of the training data, is the inverse true too? Assuming that my chosen classifier is able to fully fit the training set (i.e 100% accuracy), should I then search for the parameters that produces the least complex model but yet retaining 100% accuracy for the train... |
I have a corpus of newspaper articles and would like to classify them according to content (words, phrases) that I determine beforehand. The only way to do this that I found so far is by looking at how often my terms appear and then classify into a, b or neither of them. But there must be more sophisticated techniques ... |
Regularization in regression (linear, logistic...) is the most popular way to reduce over-fitting.
When the goal is prediction accuracy (not explaining), are there any good alternatives to regularization, especially suited for big data-sets (mi/billions of observations and millions of features)?
|
I've used random forests for a while, in both regression and classification applications, and usually found that prediction quality does not increase significantly above 250 trees at the most. According to what I've read on CrossValidated or elsewhere, this is in agreement with the theory.
However, I'm currently workin... |
I have a dataset with binary (presence/absence) species data and 5 environmental factors (pH, light, temperature, moisture, nutrients). I want to test how the five factors explain the presence of species.
Is it correct to assume that the binary species data is my response variable and the factors are my explanatory va... |
Have run a glm with Poisson-distributed errors on count data with 6 treatments and control. The output shows Residual deviance is 96.5 on 91 degrees of freedom, and result of:
1 - pchisq(summary(model.pois)$deviance, summary(model.pois)$df.residual)
is 0.33, so non-significant. I wanted to look at overdispersion us... |
I've been trying to automate the procedure of choosing the best transformation for a non-stationary process (in R). For lack of a better term, "best transformation" here refers to the quality of forecastability yielded by different transformations with the optimal ARIMA model fitted on the same series.
I have implemen... |
I would like to ask if someone can refer to me the paper containing the proof of convergence of $Q-$learning/SARSA (either/both), one of the learning algorithms in reinforcement learning.
The iterative algorithm for SARSA is as follows:
$$ Q(s_t, a_t) \leftarrow Q(s_t,a_t) + \alpha[r_t + \gamma Q(s_{t+1},a_{t+1}) - Q(s... |
I am currently writing a research proposal for my MSc and am looking to compare two groups of three, over six different time periods. Is there an alternative statistical test that better lends itself to a small sample size?
More about the project:
The project seeks to compare the effectiveness of two interventions ove... |
I have four groups of Age data changing with altitude. I need to do the linear regression between different groups according to altitude . I wonder if using just lm is meaning for my case.
Altitude Age
100 22
100 24
100 35
200 41
200 24
200 14
300 25
300 18
300 25
model<- lm(Age~Alt... |
I am doing an assignment comparing the returns of “green” stocks versus “non-green” stocks over a 10 year period - so 20 portfolios of stocks.
A stock’s “greenness” can change from one year to next, so portfolios are readjusted
Example Stock A rating could change from 2007 to 2008 so that it could be in both “Non Gree... |
Assume that I collect a simple random sample of 400 widgets and calculate an estimate of the proportion of widgets in the population that are red along with the 95% confidence interval of the proportion. After looking at the result, I decide that I would like a tighter confidence interval and collect 400 additional wid... |
I'm having issues finding the SE of the Slope to use for a T-test in a monte carlo simulation to test whether my coefficient (beta) is significantly different from 1. The problem is my intercept is fixed for 0.
I know the formula is
SE of Estimate / SSX = SE of Slope
This seems to hold as long as there is an intercept.... |
I'm modelling the number of people in a population working, married, being ill, studying, having kids etc. I call one combination of these Boolean variables a "state".
I'm estimating transition probabilities between these states from one year to the next year. I want to use a logistic regression model to estimate thes... |
Adam is a method for stochastic optimisation. The algorithm is given below.
Consider our parameters that we wish to optimise
$$\boldsymbol{\theta} = [\theta_1, \theta_2]$$
observations
$$\boldsymbol{x}_1, \dots, \boldsymbol{x}_N \in \mathbb{R}^2$$
and target values
$$ y_1, \dots, y_N \in \mathbb{R} $$
such that our s... |
I am trying to generate an experimental design using a Latin hypercube on three dimensions. I'm using MATLAB's lhsdesign(), but my question is about lhs sampling in general.
Two of my three variables, $A$ and $B$, are related such that $2A < B < 4A$. I'm uncertain whether it's even possible to do a proper LHS design in... |
I would like to ask you if it is possible to use standardised z scores in MPLUS instead of raw scores for variables included in a mediation model.
I work on a study, where we have measured stress in 3 measurement points in an exam situation (pre-stress – 5 days before the exam, anticipatory stress – on the exam day be... |
I' ve got two logistic models/ based on IRT that I wanted to compare them using the log likelihoodratio test, so I used anova(model1, model2) in R. My output looks like following:
Likelihood Ratio Table
AIC BIC log.Lik LRT df p.value
Model1 42470.30 42671.52 -21194.15
Model2 42057... |
everyone! I'm new in this field of statistics and I looked for an answer to this question here but couldn't find any related questions. I'm working with the Lending Club Loan Data, available on Kaggle and I'm trying to decompose a time series into trend, seasonality and noise. This is what I got using the decompose com... |
What is the choice of statistical test if you have a binary dependent variable but a multinomial independent variable?
Example will be
Outcome - Good skin vs Bad skin
Skin Care product - A vs B vs C vs D
If we use the chi-squared test it is possible to determine if there is a significant difference between the groups ... |
I have a set of students with mean height of 100cm with standard deviation of 10cm. I want to be able to qualify a student based on his/her height relative to the mean height for the group. Would it be possible to look at the deviation of a student's height from the mean height for the group in terms of number of stand... |
When is it appropriate/viable to model a discrete variable with a continuous distribution? For example, say you have a class of 40 students who took two maths tests of equal difficulty on the same topic, with the tests being taken 3 weeks apart, and you record the variables $X_i = T_{1i} - T_{2i}$ where $T_{ji}$ is the... |
I am using MATLAB to train a neural network and have two different sets of inputs. One set consists of logicals (1 or 0) and the other data is actual numbers / values. For example, if the NN was for flower type, the logicals could be red or yellow and the values could be lengths of the flower petal. How can the neural ... |
So I finished conducting a study. Before I started data collection, I did a power analysis to make sure how many subjects I would need to collect to find an effect (using G*Power).
Now that I had a look at the data, no expected results were found (highly insignificant). My supervisor asked me to calculate the power of... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.