instruction
stringlengths
9
38.7k
Suppose $X$ is a random variable and two hypothesis defined as: $$H_0:f(x;\lambda_{0}) = ‎\lambda_0 \exp(−\lambda_0 x)$$ $$H_1:f(x;\lambda_{1}) $$ $$x \geq 0 \quad \text{and} \quad \lambda_1>\lambda_0$$ My question is that how we can make a Neyman-Pearson test for that?
I am experimenting with stochastic gradient descent and observing very strange output. In a toy problem, the $X\beta$ for stochastic gradient descent is always larger than $0$, which will be predicting $1$ all the time. But the shape is similar to glm. What could be wrong? My code: library(sgd) set.seed(0) d=ggplot2...
I'm using library(ROCR) and I have a dataset with 4 class and I would like to plot a ROC curve for a multiclass classification. I plotted the graph of each class x every other, turning into binary, but I wanted to plot only one graph, demonstrating the behavior of my variable. I do not know if what I did is correct. x ...
I have two models with AIC values 2500 and 2590. So.... Is that significant? What percentage decrease is usually considered significant?
I am trying to do a correlation based feature selection for a classification model. Dataset details is given below. Training :- 38 Samples, 7130 features. represented as T Testing :- 34 Samples, 7130 features. represented as S Target: 2 classes (Yes | No ) So, I need to select first 100 features highly correlated with...
Supposing that $A \sim \mathcal{N} ({\mathbf 0}, K_1), B \mid A \sim \mathcal{N} (A, K_2)$, then what is $B$? I'm guessing that $B$ is also normal and there is a formula but I can't quite find it. A proof of the formula as well would also help.
I would really appreciate some help as I don't have a strong background on statistics. I have duration time without failure data of compressors (Machines) for 3 brands, and I have for each of them: - material type (categorical) - location (categorical) - capacity (numerical). I have data of 125 compressors of brand A,...
Consider the following: I have samples from two groups, and I want to answer the question are the BMIs for the two samples (say men and women) drawn from the same distribution? I do not want to compare the raw data, because I would like to control for any systematic differences (e.g., in ethnicity, health, SES, etc.) t...
I have built a logistic regression in python. The Betas are calculated through the gradient descent (ascent actually) method. The change in loglikelihood between iterations is used as a measure to see how close the betas are to their 'true' values. At what point can it be said that the model has converged? I.e. how sma...
Recently, while dealing a data set which have very different scales among variables, I tried obtaining a PCA model from covariance and correlation. I know that when the scales are significantly different PCA from correlation matrix is more suitable. My problem is, in correlation case, the first 2 PCs accounted for 70% ...
I am conducting a reliability generalization for Perceived Stress Scale. This instrument has 3 version: PSS 4, PSS 10, and PSS 14. Descriptive statistics showed PSS 4 (alpha = .74, 95% CI = .70-.76) have lower alpha coefficient than PSS 10 and PSS 14 (both have identical alpha value; (alpha = .84, 95% CI = .83-.85). I...
I have a problem. Our professor is giving us at the exam the opportunity to choose to answer only one topic among eight on the exam. The total number of topics in the subject is twenty-two. I would like to know what is the minimum number of topics to study in order to get at least 90% probability to know at least one ...
F-test tests the null hypothesis that all coefficient of variables in the model equal to zero. P-value in a hypothesis test shows the probability of having observed results if null hypothesis is true. My question is that if the model only has one variable, just like m2 and m3 shown as following, is the result of f-st...
Keeping in mind regression model equations of the following general type $$Y = β_0 + β_1X_1 + β_2X_2 + ε$$ I notice that although $ε$ is usually given as the error term, sometimes the error term is denoted as $u$ instead. My question is: is there some difference between the contexts in which $ε$ is used and $u$ is use...
My company wants to build a model that will be used to predictive conversion that is usually about 2%. However every sample we purchase (converted or unconverted) is expensive. So my question is: How many converted samples do i need, 500 or 1000 ok? How many unconverted to I need? The same number? I can't have as many...
I would like to know if there is any way (perhaps a bootstrap approach) to backtransform the estimates of a linear mixed effects model with a transformed response variable (and transformed predictor variable). Let’s say those are my data: x = exp(rnorm(100, 5)) y = log(x)^2 + rnorm(100, 3) random = c(rep("A", 50), rep...
I have dataset of 250000 points which has 15 features. Each feature takes values from 0 to 100. So, I want to fit a probability distribution to this dataset to identify outliers like wrong data entry. For univariate, I could follow this approach. How to do this for multi variate? How to measure the goodness of fit? Ans...
I have a dataset with many subjects, and for each subject I have 100 samples for an X variable, while Y has exactly 50%/50% cases for label 1/2. I am trying to run cross-validation with SVM and found that accuracies are always below 50% despite the set being balanced. So I made up the following simulation and changed t...
Let $$Y_1\sim \operatorname{Poisson}(\lambda_1)\\Y_2\sim \operatorname{Poisson}(\lambda_2),$$ where $Y_1$ and $Y_2$ are independent, and $\lambda_1, \lambda_2>0$. What is the variance of $$\frac{Y_1} {Y_1+Y_2}?$$ Or more general, what is the variance of $$\frac{X_1} {X_1+ \cdots +X_n},$$where $X_i\sim \operatorname{Poi...
I have a paper that just got rejected. It appears that my identification strategy is not sound enough. Below I describe the critique and seek some advice. My sample is elderly aged 55 and over. The dependent is a health outcome. Two independent variables of interest are part-time (working less than 35 hours a week) and...
A bag contains $N$ balls numbered $1,2,3,…,N$ to test the hypothesis $H_0 : N=10 $ vs $H_1:N=20.$ Draw $2$ balls from the bag without replacement, let $X$ denote the larger of the $2$ numbers in the drawn balls and reject $H_0$ if $X>9$. What is the power of this test? My attempt. When $H_1$ is true, $N=20$. And now we...
According to the theory ARX(1) is the same as a linear regression with a lagged y. For some reason the coefficients can be very different though. Here is a simple dataset for demonstration purposes: y=c(3,4,6,3,3,5,7,8,5,7,3,2,5,7,4,3,5,6,8,4,3,5,6,3,2,5,6,7,8) y.lag1=c(3,3,4,6,3,3,5,7,8,5,7,3,2,5,7,4,3,5,6,8,4,3,5,6,3...
Data: transaction - product_bought,amount,time,date,Client_age,Client_occupation etc product- 20 types (categorical) If we want to predict by analyzing 1 year of transactions, what product user will buy next and when : To predict : Product , time ( in days after last transaction) Example: | Product | When ...
Let's say that I have an input X = Q + W + Z and an output Y. Is it better to find a unique predictor using (X,Y) or to find 3 predictors using (Q,Y), (W,Y), (Z,Y) and then do the mean of the prediction for these 3 predictors ? I am looking for some theorical reasons to explane if the 2 procedures are equivalent or if...
I just finished a course in regression on count based outcomes. We studied various distributions such as the Poisson and Negative Binomial. Towards the end of the course, we discussed Zero-Inflated Poisson and Zero-Inflated Negative Binomial. Now I am hoping to learn a bit more about these during the summer. During the...
I am currently working a lot with R and Python. I am not able to access the C code the the R function lm_fit. I am wondering how is the linear regression optimize in R and python ? I am pretty sure in R it is optimize with the Normal equation (since R is good with matrix multiplication) and I would think it is optimize...
I am trying to replicate the following graph that I found in a paper: After emailing the author, he described the process to generate this graph by saying: "...we did simulations with these different SD values superimposed on the slopes and then computed power" I've tried to replicate it but I'm having trouble ge...
I fitted model 1 and model 2. I then plotted the residual plots. Model 1 had some minor problems with the residual plot: there was more variance in the residuals on the right side than on the left. This suggests that variance is not constant. Model 2 was fitted where the variance could depend on a predictor $x$. The re...
Without being geostatistician, I read a bit about anisotropy detection, mostly from ArcGIS documentation and the R gstat package tutorial. But still, it is hard to have a confident understanding of those concepts and even in general, when should we account for anisotropy? I am therefore looking for more experienced opi...
I'm currently struggling with some statistical work, and thus I'm seeking your advice. I'm trying to investigate the expected duration of a conflict in a) a democracy and b) an autocracy. What I do know: the probability of onset of a conflict is: in democracies: 1% in autocracies: 2.6% the probability of continuati...
In powder metallurgy people often use particle distributions such as this one: I understand this distribution as a probability density function. I integrated this function to obtain the cumulative distribution function: The value of the CDF is supposed to be one for particle sizes over 50µm but this is not the case. ...
I do data cleaning / data preprocessing everyday, using various tools to remove outliers and to keep normality However, I feel what I am doing is more a handcraft rather than systematic: I don't have a procedure to guild me what should I do or more importantly: why should I do this? I am now looking for a more 'system...
I am doing a projects using glmnet package and have hard time to interpret the result. The scenario as follows. There are 7 variables x1, ..., x7. x3, ... , x7 are scaled to mean 0 and std 1. I fit a Lasso regression on x3, ... , x7. Lasso selects some variables. Then I fit a Lasso regression on all variables, i.e.,...
In the OpenIntro text book, there is the following example: Globally, the average sleep for a high school student is 7 hours. The researchers at the rural school conducted a simple random sample of n = 110 students on campus. They found that these students averaged 7.42 hours of sleep and the standard deviation of the ...
I was asked the following question during a job interview: A coin is flipped 1000 times and 560 times heads show up. Do you think the coin is biased? What would be your answer? (I find the question "Quantifying 'survey bias' in reports" related (but it is not answered).)
Most examples of logistic regression uses a cutoff (for classification) of 0.5. But I suspect this is a reasonable starting point only if you have equal number of positive samples and negative samples. Suppose we want to classify whether someone will get a disease or has a disease. We randomly draw 1000 people from the...
From PRML: Do variations in $a_j$ give rise to variations in $E$ only via $a_k$? True. Is $h'(a_j)$ the same across all $k$? I'm afraid not. Let's write down what $\partial a_k/\partial a_j$ are. Since $a_k$ are in the layer that succeeds $a_j$: $$a_k = h(\sum_{j'} w_{j'\to k}a_{j'})$$ in which $j'$ runs through all...
I have two distributions I would like to compare. For each distribution I have only x values at some given percentiles (5, 25, 50, 75, 95). I would like to make some inference on how different these distributions are. I have some idea on how I would like to do it, but may be in a bit over my head technically. My t...
My aim is to test the independence of two categorical variables, however the independence assumption of the chi-square test is violated and both the Cochran Q and McNemar tests are not suited to my experimental design. I am looking for an alternative test that might suit my data. The data is as follows: variable 1: con...
My data have four groups: "A" normal group (AN), "B" normal group (BN), "A" group with a clinical diagnosis (AC) and "B" group with a clinical diagnosis (BC). They were tested on a task that included 2 different conditions. I plan to analyze the groups' error rates and reaction times separately. The data are non-nor...
any help to solve this is greatly appreciated: The research question is to assess the superiority of Treatment A for estimulate bone growth in comparison with Treatment B, the current standard. I'm planning to compare two treatments to estimulate bone growth in maxilary sinuses. For that, I will treat each patient wi...
During a class in my master's in computer science the professor asked us to come up with the best model to predict this particular data set. In it, we are given measurements of the weight and size of an abalone and need to predict the number of rings (an integer number) in its shell. Here an example of how the data loo...
We can simulate linear regression without randomness, which means we make $y=X\beta$ instead of $y=X\beta+\epsilon$. Then if we fit a linear model the coefficients will be identical to the "ground truth". Here is an example. set.seed(0) n <- 1e5 p <- 3 X <- matrix(rnorm(n*p), ncol=p) beta <- runif(p) # y <- X...
I want to build a model that quantifies the energy savings from a building retrofit project. For example a company is using a heating oil radiator system, that is meant to be replaced by a gas radiator system. I plan to model different factors that underly uncertainty, like oil price, gas price, energy use depending on...
Say you fit a model m. You then calculate the variogram. In R, this can e.g. be done by using plot.Variogram using the nlme package on an lme object. Say the plot indicates that yes, there is some correlation that disappears as the distance increases. Then you model different correlation structures: Exponential, Gaussi...
Assume that we have a random sample from the log-normal distribution and that we want to test $H_0: \tau=0$, where $\tau=\mu+\sigma^2/2$. I want to construct the Wald test for this purpose, and I know that the MLE of $\mu$ and $\sigma^2$ is $\frac{\sum\ln x} {n}$ and $\frac{\sum(\ln x-\hat{\mu})^2} {n}$, respectively. ...
I have a data set as follows: Response variable; proportion (i.e., 0.15, 0.94, 0.26) Predictor variables; both fixed, one continuous (400,700,1000,1300), one catagorical (2-levels of species) I am interested in the interaction between these two predictor variables. Code for the model used: glm_necrosis <- glm(necrosis ...
I was hoping someone knows whether the following statement is true or not. Suppose $F$ is a given normal distribution and $G$ is a distribution that has a given mean $\mu$ and variance $\sigma^2$ (but can otherwise be anything). Then, the distribution G that has the minimum KL distance from F is a normal distribution (...
Under what conditions do the Bayesian and frequentist hypothesis testing lead to the same conclusion (rejection or acceptance of a hypothesis)? For example, if the test concerns statistical independence between two categorical variables?
Consider three random variables $A,B,C$ and suppose I want to test $$ H_0: A\perp B \text{ and } A\perp C \text{ and } B\perp C $$ at $\alpha \%$ level. One way to proceed is to test $$ H^1_0: A\perp B $$ at $\frac{\alpha}{3} \%$ level. $$ H^2_0: A\perp C $$ at $\frac{\alpha}{3} \%$ level. $$ H^3_0: B\perp C $$ at $\f...
In Keras, I'm using something similar to the Keras IMDB example to build a topic modelling example. However, unlike the example, which has a single "positive/negative" classification, I have over a hundred topics which are not mutually exclusive. Every training example has a corresponding output which is a vector of ...
I would need a little clarification on this very basic issue. I'm trying to predict a continuous outcome based on a continuous predictor and a categorical variable with 3 levels using multiple linear regression. The fit tells me that when the continuous variable increases, also my dependent variable increases. Fair en...
I have a binary classifier. I can see it systematically makes errors on some types of samples that are not represented in the training set too well. Is it a good idea to get more samples of such data points, add them to the training set and retrain the model? My concern is that it will make training data differ from re...
We have a bag full of many balls (let's say n balls). We cannot see inside of the bag but we are certain that only a certain number of them are blue (let say r). If we want to randomly choose half of the total balls in the bag, what is the probability that we have selected all of the blue balls in our sample? Here is ...
How can I measure how good my PCA was ? Of course, it depends A LOT on context, or even maybe subjectivity sometimes. But what objective measures can I use to measure how good my PCA was? It doesn't make sense to use sum of squared distances from original data points to projected points, because by PCA'S definition, I ...
I conducted pre- and post- tests (each graded with a quantitative score) among three different grade levels in a middle school where each grade level had a different number of students (23, 20, and 21 respectively). What type of ANOVA test should I use?? My first thought was to use an "ANOVA: Two-Factor with Replicati...
In a single study, a researcher can obtain a relevant summary statistic, and construct an $x$% confidence interval for that summary statistic. Under the frequentist framework, this obtained confidence interval is thought of as being one of the infinitely many possible confidence intervals had the exact same study been ...
Roll a standard 4-sided die (with sides labelled 1, 2, 3, 4) and let $X$ be the number rolled. Then take a fair 8-sided die (with sides labelled $1,\ldots,8$) and roll it repeatedly until you roll a number strictly larger than $X$. Let $Y$ be the number of times you roll the 8-sided die, not including the last roll (i....
The hazard function for the Cox proportional hazard model is written as follows. $$\lambda(t|X_i) = \lambda_0(t)\exp(\beta_1X_{i1} + \cdots + \beta_pX_{ip}) = \lambda_0(t)\exp(X_i \cdot \beta)$$ I would like to know how come the time, $t$, is not really used in prediction (this link states that the hazards ratio does ...
The clustering co-efficient of my real network is zero. As a matter of fact, all the nodes of the network have a clustering coefficient of zero. I am trying to compare my network to an ensemble of random networks I created using the Erdos-Renyi algorithm with the same number of nodes and edges as my real network. It s...
I need to learn GMM (Generalized Method of Moments) estimator to replicate a paper for my Research Workshop class. I have a very limited background in Econometrics and Statistics. Where should I exactly start to study from?
Hi I am a beginner in probability, I have been following Harvard course Stat 110 class taught by Joseph Blitzstein on Youtube. I am having confusion with following problem. Scenario 1 Consider there are k distinguishable items and n distinguishable boxes, What are the ways in which you can put these k items in n boxes ...
Background In Introducing Monte Carlo Methods with R by Robert and Casella, in the discussion on "Sampling Importance Resampling", I'm confused by the following argument. Suppose $f$ and $g$ are pdfs. Sample $X_1 , X_2, \ldots, X_n \sim g$ and then define $X^* = X_i $ with probability $f(X_i)/(ng(X_i))$ (assume for no...
I am trying to learn a model $V=f(X,Y,Z)+\epsilon$ by looking at a series of observations $(v_1, x_1, y_1, z_1), (v_2, x_2, y_2, z_2) ..., , (v_n, x_n, y_n, z_n)$. I know the true $E(X)$, but because I don't have enough sample data or maybe I was too lucky or unlucky in collecting my samples so that the true $E(X)$ is ...
I'm in the process of trying to reimplement the MatchLSTM model as described in the paper here. I understand most of the paper except for their definition of the loss function. Am I correct to assume here that: $$p(\mathbf{a} | \mathbf{H^r}) = \prod_k\mathbf{\beta}_k$$ where: $$\beta_k = \begin{bmatrix}\beta_{k,1} & \...
I have an imbalanced data set of 300 observations with an adverse event rate of 8%. I have 4 features that I believe to be relevant based on expertise in the field. I am interested only in inference (not prediction) and assessing potential relevance of one of the features for protection against the adverse event, so I'...
I have a data set where some really bad data is drowning out other outliers. I am removing the extreme outliers first and then removing other outliers recursively until no more outliers are left. Is this good stats or am I doing something terrible? If this is valid what is the method called and is there a more sophisti...
As far as I know, we use a t-distribution if the sample size is small and the population is normally distributed. But if the population is normally distributed, then the sample mean is also normally distributed, so why not just use the z-distribution instead?
Suppose there are $N$ authors, and each author has writen $A_i$($i=1\dots N$) articles. I want to estimate the average level of the authors by scoring the articles. the level of author $i$ is defined as the mean of the quality score of all his articles, that is $X_i = \frac{1}{A_i}\sum_{j=1}^{A_i} Q_{ij}$, where $X_i$...
I ran an experiment where participants had to perform perceptual tasks and were assigned to 1 of 3 experimental conditions. In two of the three conditions, participants performed that task in groups of size 5. In the last condition, participants performed the task independently. I am trying to measure the effect of my ...
I have a question regarding multi-stage sampling. To keep it simple, let's consider two stage sampling. Let p1 be the probability of picking a cluster at stage 1 using the Bernoulli sampling process. Now, if sub-sampling at the second stage is invariant and independent, that is, if the same sampling design is chosen fo...
Sums and products of every pair of n numbers are given, however it is not known as which pair's sum and product they are. From this information we can find: a) Mean of the n numbers b)Variance of the n numbers c)Median of n numbers d)Range of the numbers I know that mean and variance can be found since we would be able...
I know that beta and sigma2 in Bayesian OLS could be simulated by standard distribution, i.e., sigma2 by inverse gamma and beta by normal. Instead of that, as a beginner, I try to practice MCMC methods directly on the OLS posterior with non-informative. That is, (X contains a column of 1 to account the intercept, is it...
I do have the following data TABLE A Population Size | Type | Value 340 | Control | .7+03[SD] 350 | Test | .015+.25[SD] Can I convert this to something like this? How ? TABLE B Population Size | Type | Value 340 | Control | 25 350 | Test | 33 If not how to...
I am trying to understand how performance evaluation works in LFW(Labeled Faces in the Wild) dataset http://vis-www.cs.umass.edu/lfw/. I am interested in task: pair-matching. However, as I dig deeper, I found myself confused. Here is a brief summary on evaluating pair-matching performance in LFW dataset: LFW dataset ...
I ran a vector autoregression (var) on a set of 64 companies with at least 6 data points in each company (lags 1, 2 ,3). I got the results of all 64 companies into one table and was able to calculate the mean coefficients but how can i compute a single z score and a p value for this table? I have individual z scores an...
I am using cross-sectional data with the following OLS model: $$ Y_{(i,j)} = \beta_{(0)} + \beta X_{(i)} + \beta X_{(i,j)} + \beta fixed\; effects_{(j-1)} + \varepsilon_{i,j} $$ where $i$ stands for individuals and $j$ stands for groups. In my application, I am trying to predict survey respondent's satisfaction with de...
I need help to predict future values for a time series (26 observations of consumer prices). This time series is not stationary (i.e I have increasing values of price). What is the best method knowing that I want to take the time series to it original scale at the end? For now, I run this code on stata. But, all my ...
Recently I have read a paper by Yann Dauphin et al. Identifying and attacking the saddle point problem in high-dimensional non-convex optimization, where they introduce an interesting descent algorithm called Saddle-Free Newton, which seems to be exactly tailored for neural network optimization and shouldn't suffer fro...
I am trying to predict the number of events happening with the next time window, given the current values of some input variables. I am trying to pick up a good family of distributions to describe this data. Given the nature of the problem, Poisson distribution seems like a good idea. When I plot histograms of data fo...
Im thinking of applying machine Learning algorithms on a data set of a Portfolio of credit contracts. The dataset is huge. I got around 22 Million contracts with around 100 Million data rows from a 2000 to 2015 (Panel Data) and up to 30 individual characteristic variables. With this data set I want to estimate the so ...
The title is self-explanatory. I was reading the openIntro statistics book by Diez et al., where this sort of rule of thumb is stated frequently. Where all this comes from?
Question in one sentence: Does somebody know how to determine good class weights for a random forest? Explanation: I am playing around with imbalanced datasets. I want to use the R package randomForest in order to train a model on a very skewed dataset with only little positive examples and many negative examples. I kn...
$\{1,2,3,3,4\}$ is a random sample from $X$ that has the following probability distribution: $$ \begin{align} & \Pr(X=1)=P(X=2)=\tfrac{1}{4} \\ & \Pr(X=3)=p \\ & \Pr(X=4)=\tfrac{1}{2}-p \end{align} $$ Find the Maximum likelihood estimate for $p$. I have solved many problems on finding MLE's and I know only the metho...
I have an array ($Y$) with a series of data to which I must fit the sum of some other arrays $(X_1,X_2,X_3)$. The expression is: $Y = c_1*X_1 + c_2*X_2 + c_3*X_3 + e$ I need to add some constraints (min and max values of $c_1$).
I have a normal distribution of a variable y~N(f(x),bc2x), where x is the IDV and b and c are some estimated parameters. So, the SD of y is given by bcx. Now I have a transformation of y: z=g(y,n)=ey(n+1)/(1+ey)/n, where n is another IDV. In this case, what is the best way to estimate the SD of z? Or, what is the "?" i...
I am having a basic doubt about the interpretation of the standard errors from the R output of a linear model in which you have a single explanatory categorical variable. Let's say we are using the iris dataset in R and we are modeling the relationship between Sepal.Length and Species, so we have the following: m1<-lm(...
Suppose I am fitting a Ridge and I decide to search a parameter space for c:[1,2,3]. I perform nested CV on my whole dataset and find the performance not so great. I therefore expand my search space to c:[0.5,1,1.5,2,2.5,3,3.5,4]. Can I just repeat nested CV now and expect a fair estimate of generalization error? If ...
I have a dataset with almost 300 cases and 8 variable. Some are binary, some are ordinal variables with 4 to 5 categories. I am performing a hierarchial cluster analysis and latent class analysis in R. For the former I use gower distance and hclust function in R. For the latent class analysis I use poLCA package. The c...
I have the following code in MATLAB, which I believe calculates the probability of a certain point (p) in the normal distribution. I know sigma (variance) and mu (mean) based on calculations. f = (1/sqrt(2 * pi * (sigma(x, y))^2)) * exp(-((p - mu(x, y))^2)/(2 * (sigma(x, y))^2)); if f >= P cloud = false; else ...
I'm doing a course on Neural Networks, which at some point states: Sampling the hidden representations regularizes the network by pushing the hidden representation to be binary during the forward pass which limits the modeling capacity of the network. What does Sampling the hidden representations mean?
I have a time series where a specific event occurs. I want to see if there is a significant difference in the mean pre- and post- event. The time series is first adjusted for seasonality, and then run as follows: Adjusted Values = B0 + B1*Pre/PostFlag + B2*OtherFactors I am arguing that you MUST have another regressor...
This is more of an experimental design question, but the implications are largely statistical, so I'd appreciate some help. I'm running an experiment with traditional experimental and control groups, and we're expecting ~120 participants. The challenge is that it's an educational intervention, and our participants come...
I know that the median value $(\text{Med})$ for a variable $X$ characterised by the contentious PDF function $f_X(x)$ can be calculated by finding $\text{Med}$ in: $\int^\text{Med}_{-\infty} dF_X(x) = \int^\text{Med}_{-\infty} f_X(x) dx = {1\over2}$ And $F(x)$ is the CDF of $X$. In other-words: $ \text{Med} = F^{-1}(1/...
Which sequential input problems are best suited for each? Does input dimensionality determine which is a better match? Are problems which require "longer memory" better suited for an LSTM RNN, while problems with cyclical input patterns (stock market, weather) more easily solved by an HMM? It seems like there is a lo...
Suppose LN(Y) is regressed on a matrix of binary variables and a continuous variable. How can the interactive effect of the continuous variable and each one of the binary variables be determined? For example, suppose I attempt to estimate the effect of rainfall in a geographic area on the amount of vegetation in that ...
I have a data set of motions of different particles and I am interested if the direction they are going through have 'directional' correlation to each other. The results I am getting are not 'very convincing/ not very good'. For example, correlations of around 0.40-0.60, but this is up for interpretation. It was sugge...
I have a non-count data with huge number of zeros in the target variable. I need to fit a model being a mixture of Dirac delta function and normal distribution parametrized by mean $X\beta$ and variance $\sigma^2$, with mixing proportion $\pi$, i.e. $$ y \sim \left\{ \begin{array}{cl} 0 & \text{ with probability }\pi ...
In spatial statistics and spatial econometrics, very commonly models like the following are employed. Let $Y$ represent the response, $X$ some predictors, $\beta$ the vector of coefficients, $\rho$ the spatial autocorrelaton and $W$ some spatial weight matrix, put together to a linear model with a spatial lag: $$Y=X\be...
I am looking for famous, historical, beautiful, impressive, or otherwise noteworthy visualizations based on statistical concepts. I think of examples along the lines of Florence Nightingale's diagram: but also "impressive" visualizations of key statistical concepts, such as more special ways to present something lik...