instruction
stringlengths
9
38.7k
Let's say we are given an informative prior on $\theta$, preferably estimated from previous data. Given some new observations, suppose the $\hat{\theta}_{MLE}$ is very deviating from what the prior specifies. In practice, we know that this may be due to some covariance shift. Is there some Bayesian methods, perhaps sim...
My data han N=90 observation, I plot my data and I don't see any peculiar plot indicating heteroscedaticity, so I run BP and other test like Goldfeld-Quandt and Harrison-McCabe, but BP return significantly and other test is not with enourmous gap of P-Value (BP=0.040 while other 0.9). Can any one help what should I do ...
The variables X1, X2 and Y consist of several dimensions (based on the corresponding literature), which we asked about in advance using Likert items (1-5). However, I am not quite sure how to analyze the variables correctly, as I have not found any literature where both dependent and independent variables are tested on...
Hello I am struggling a bit understanding the random effects model. What I understood is that we fit a model but allow for sysematic differences of the variance of residuals per group. I would incorporate such different variances in the expected negative Gaussian log likelihood loss to be $-\log \mathcal{L} = \frac{1}{...
While studying Panel data analysis I came across the following reasoning. We have the following general model $$ Y_{it} = \beta_0 + \beta_1 X_{it} + v_t + \alpha_i + u_{it}$$ where $v_t$ is the fixed in cross-sectional variable and $\alpha_i$ is the fixed in time variable. It is said that since $i = 1, \dots, N$ and $t...
I'm trying to compare a regression neural network to a commonly used equation. I have an 80:20 split for my training:test, and I get the root mean square error on the test set from the neural network and the equation. How can I compare the root mean square errors to see if the network is significantly better than the e...
In a study, an outcome variable has three categories. There are several factors in the study. We are determining how these factors influence the outcome variable.We have fitted multiple logistic regression and calculated relative risk ratio to determine whether a factor is significant risk factor for the outcome variab...
I have data from 310 individual plants, from various habitats (5 type), species (10) occuring in different habitats, measured photosynthesis performance (PhiPS2) in different months (sampling_no_). I aim to look at how the PhiPS2 value varies with habitat and months(sampling_no). And since I have different species, I ...
We talked about a (time series) process generating observations. Somebody gave the bold statement: "Regression or predictions for general processes only make sense (generalize well) when the process is stationary". What methods are there to predict/regress on non-stationary processes? I was thinking about other co-inte...
Let's say I'm testing this relationship in a path analysis in SPSS AMOS to answer these 2 research questions: Does worker's moral have a significant positive relationship with organisation performance? Does authentic leadership mediates the relationship between worker's moral and organisation performance? Now, I use...
I am using the ranger package (which implements random forests) in R to build regression models of tree species' basal area, a continuous measure of abundance and size. Predictors are climate variables. From a very large dataset I am selecting a sample of $400,000$ points for training for each species. I then test p...
I have activity levels of dogs and want to assess whether toy presence, toy groups, age, and the presence of toys on weekdays and weekends can affect the activity levels(DV). The best way I thought of running a linear mixed effect model with collar activity was the following syntax in R using the lme4 package: DV ~ Toy...
I am using this formulation of the exponential family : $$ \large f_{X}(x;\boldsymbol{\eta})=h(x) \exp \left(\boldsymbol{\eta} \cdot \mathbf{T}(x)-A(\boldsymbol{\eta})\right) $$ The gamma distribution is given as : $$ \large f _{X}(x\,;\alpha, \beta) = \frac{{\beta^{\alpha} x ^{\alpha - 1}\exp(-\beta x)}}{\Gamma(\alpha...
I have a dependent variable, a time series of 80 periods (discrete decisions). I am doing maximum likelihood estimation with 10 parameters. Now I want to get the standard error or confidence interval of the estimates of these 10 parameters. One feature of my likelihood function is that the decisions is determined by al...
I have a linear regression problem in which my $X$ matrix is not full rank. Here is a small example: $$X = \left[\begin{array}{rrrr} -1 & 0 & 0 & 1 \\ 1 & 0 & -1 & 0 \\ 0 & 1 & -1 & 0 \\ 0 & 0 & 1 & -1 \\ -1 & 0 & 1 & 0 \\ 0 & 0 & -1 & 1 \\ 1 & 0 & 0 & -1 \end{array}\right] $$ As you can see, each row sum is equal to ...
I want to fit a linear mixed effect model with a response variable called "PhiPS2", along with independent variables such as habitat, season, and species. However, I'm not sure which of these independent variables should be the random effect. The experimental design looks like this- the PhiPS2 is measured in different ...
Suppose we are given a (possibly large) dataset $X \subset \mathcal{X}$ for some complete, separable space $\mathcal{X}$, and a space $\mathcal{Y}$ for which completeness and separability are not guaranteed. Let $f: \mathcal{X} \times \mathcal{Y} \to \mathbb{R}$, and assume $f(\cdot) \in [0, b]$. Suppose we are interes...
I have a pretrained score based diffusion model trained on 64X64 images. Now I want to calculate the score of a new image(of same dimension) through this pre-trained neural network. The score network takes two inputs : x_t : Sample at timestamp t t : timestamp How should I calculate the score of a new image via this ...
The posts How come the deterministic part of Wold decomposition does not violate stationarity? More about the deterministic part of Wold decomposition express some concerns as regards the "deterministic" component in the Wold decomposition of a stationary stochastic process. Comments and answers there (including mine),...
I am currently analyzing a dataset from an experiment I ran in which I investigated the effects of different tone combinations on frog calling responses. Each stimulus presented to the frog was a combination of 2 tones of different frequencies (i.e., each individual stimulus is composed of frequency 1 and frequency 2, ...
Let $S = \{s_{1}, ..., s_{n}\}$ be a finite set. Let $\mathcal{B}$ be any sigma algebra of subsets of $S$. Let $p_{1}, ..., p_{n}$ be nonnegative numbers that sum to 1. For any $A \in \mathcal{B}$, $P(A) = \sum_{\{s_{i} \in A\}} p_{i})$, where $s_{i}$ are sample points. Which says the probability of any given set is eq...
I am doing ANCOVA: main categorical variable for the comparison is "Street" and it contains 3 categories (Street1, Street2 and Street3). The outcome variable is social interaction time (mins) of individuals in these streets. We controlled for time of the day (because social interaction may be affected by the time of t...
Here I try to verify estimators of the mean and covariance matrix of the two-dimensional normal distribution $N(\mu, A)$ with $\mu=[-2,3]^T$ and $A=\begin{pmatrix} 5 & 11\\ 11 & 25 \end{pmatrix}$. Let $\{x_i\}_{i=1}^n$ be an i.i.d. samples from $N(\mu, A)$. Here my estimators are given by $\hat{\mu}=\sum_{i=1}^n x_i/n...
Suppose I have two samples from two Normal distributions and I want to construct a test to decide if my two sets of samples come from the same underlying joint distribution. Let's say I know the variances for simplicity. If I know which sample comes from which Normal distribution then a simple test might be based on $$...
Consider a simple hypothesis test with a binomial distribution $Bin(p,n)$: $$ H_0: p = p_0, \\ H_a: p \neq p_0 $$ and my estimate for $p$ is $\hat{p}$. If I wanna do a normal approximation, a common standard is to check if $np(1-p) \geq 10$. Should I use $p_0$ or $\hat{p}$ in this formula? Should I check with both of t...
In Eq.3 and Eq.4 of "effective degrees of freedom" paper Freedman defines degrees of freedom in terms of the difference between train loss and test loss, where train/test both use the same dataset $X$, but resample noisy labels $y$: In practice however our train and test sets correspond to different $n\times p$ observ...
I can understand why the mean is known. I can understand that in some cases based on historical data, you have a rough idea about the variance/ standard deviation. But inherently when the real world Statistics problems are divided between the scenarios of sigma-known and sigma-unknown, just wondering why would a new pr...
Let $\mathbf{\vec y}$ be the response vector. Then, we can write the exponential family as : $$ \large p(y;\boldsymbol{\eta})=h(y) \exp \left(\boldsymbol{\eta} \cdot \mathbf{T}(y)-A(\boldsymbol{\eta})\right) $$ In the context of GLMs, $\boldsymbol{\eta}$ is both the natural parameter and the linear predictor given as :...
Let $X \sim Bin(n,\pi)$. I don't understand why the binomial likelihood is then given by $f(x|\theta)=\binom{n}{x} \theta^x (1-\theta)^{n-x}$. Shouldn't it be $B(x|\pi,n)=P(X=k)=\binom{n}{k} \pi^k (1-\pi)^{n-k} \Rightarrow L(\pi)=P(x|\theta)=\Pi^{N}_{i=1} \binom{n}{x_i} \theta^{x_i} (1-\theta)^{n-x_i} = \Pi^{N}_{i=1}\b...
I've recently been trying to use some TDA (topological data analysis) in R, yet one limitation I have found is in the selection of the "filter_values" argument. My understanding is that they typically use the range of X-axis (or Y-axis) for the "filter_values" argument, but I've had no success. Here is a published exam...
I have a set of data which does not fit the typical parameters for parametric tests of association, and I need to account for the one of the variables as a random effect. After research, I found that a mixed effects model (as described here) is the best fit for my data. So I've been using the glmer function in the lme4...
I am a beginner with statistics and corpus linguistics, so sorry in advance if my explanation have gaps in it. So I want to perform corpus linguistics collocational strength analysis on a given corpus, namely a corpus of presidential speech in a country. As a general rule of thumb, by using Mutual Information measureme...
This question is based on using a regression for statistical inference (not prediction). I have conducted hierarchical (logistic mixed effects) regression. The first model includes the predictors of interest for the study. I am interested in the interactions between Condition and 1) SPQ, 2) CAPS, 3) PDI. There are no s...
Recently, I took a test in statistics. The test stated something like this (I can't recall exactly the words). You realized 5 experiments with 100000 users each to evaluate a enhancement after some interface changes. The first one (the control group) received a 10% return. The other 4 experiments had the following retu...
I have a small dataset of 134 observations. The dataset consists of answers to a questionnaire. All the variables are measured in Likert-scale, ranging from 1 to 5 (strongly agree). I want to perform a hierarchical cluster analysis on the variables but I am unsure about which linkage method and distance measure to use....
If I wanted to check the mentioned assumption, it is quite easy for only 1 predictor, but what if I have several? I read online that I can plot the residuals vs predicted and see there is no pattern, but I also read that you can plot k scatterplots for k predictors individually (like in simple regression but k times) M...
I have a dataset consisting of 134 observations and four variables. The dataset consists of answers to a questionnaire. I want to perform a hierarchical cluster analysis on the variables in the dataset, but as they are all measured differently I am unsure about how to proceed. Two of my variables are categorical, rangi...
I'm working with time-series and want to get rid of the time dependance, i.e. to get clean series (clean demand if one predicting user demand at some marketplace). Beginning with the classic paradigm $\text{series}(t) = \text{trend}(t) + \text{seasonality}(t) +\text{residual}(t) $, I can find components of $\text{tre...
Let $X_1, X_2, \dots, X_N$ be iid random variables from $Poisson(\lambda)$. The confidence interval for $\lambda$ with confidence level $1-\alpha$ is $$ \frac{1}{2N} \chi^2 \left(\alpha/2; 2 \sum_{i=1}^N X_i \right) \le \lambda \le \frac{1}{2N} \chi^2 \left(1-\alpha/2; 2 \sum_{i=1}^N X_i+2 \right) .$$ The sample mean...
I am working on a project to forecast house ownership rates. One dataset I have consists of number of people of each age from 1-99 per geographic area code. For example, 20 people aged 1, 59 people aged 2, ... 5 people aged 99. The dimensionality of this data seems quite too large to use unprocessed, and so I was think...
I'm doing the project related to the glioma research. It would be a good strategy to have the training, validation, and testing but it is not fit in the data number I got.((12 IDH mutant (180 MRI) and 7 Wild type (105 MRI) for training Total dataset number : 285 MRI) that had all multiparametric imaging (15 different m...
I'm working on some medical research and I'm wondering what is the most straightforward method to convert median and median absolute deviation (MAD) to mean and standard deviation. If anyone has any links as well to a source I can cite for the conversion that would be super helpful. The reason I need to convert is beca...
I have extracted data from a questionnaire about factors influencing employability of young graduates. The questionnaire was answered by students in my class, so I extracted their age, major, and their degree of agreement with a bunch of statements I made. After importing data from the excel data sheet to R, I went thr...
When using lm() or glm(), the predict.lm() or predict.glm() functions allow one to obtain predictions from the model using only a subset of the predictor variables, while setting the coefficients of the others to zero. For instance, fit<-lm(y~x1+x2) then predict(fit,type="terms",terms="x1") will give the predicted val...
If the mediation analysis includes only observed variables, would it be necessary to test the measurement model and conduct a CFA prior to path analyses? Are there other analyses, on top of assumptions, that are advised to be conducted before the path analysis itself?
Suppose that one wants to estimate the effect of X on Y in the following causal diagram Should one take Z as a covariate (and why/why not?) For example, suppose that one wants to estimate the effect of gender on strength. Let's assume, for the sake of the example, that men are on average taller than women. Should one ...
(Please note that this is all hypothetical at this point and the data specifics should not matter that much). Let's say I have a dataset where participants took a certain amount of time to complete a task (x-axis below). These participants naturally separated into two rough groups: those who took about 4 seconds and th...
I am trying to work on building a relationship in Keras, between X and Y where X= (1,30) and Y= (1,10). I made model, to predict the Y from X. I am working in the biology field, and I want to predict the binary vector of Y through X with accuracy (90%) . I will explain mode: X is a binary vector of length n (e.g., X(...
I'm using sklearn to calculate the coefficient of determination between X (true age) and Y (predicted age). But I'm getting two different values for two different methods, which to the best of my understanding should be identical. Here is the data with a line fit. (Not a great fit, I know, but I'm working on the pipeli...
This is a question I have come across while learning about statistical inference and data analysis. I think I have been able to solve question (a) and (b) already. My solutions are: $$ \hat{p}_{MLE} = \frac{n}{n + \sum_{i=1}^n x_i} = \frac{1}{1+\bar{x}_n} $$ $$ \sqrt{n}(\hat{p}_{MLE} - p) \rightarrow N(0,\frac{1}{I_n(...
I am working on a meta learning neural network that should predict the weight update of another neural network. Here is the way I see it. Let us define the input at training step $t$ as $x_t$ and the ground truth as training step $t$ as $y_t$. We are looking for $\omega^*$ the optimal parameters of a function $g$: $$ \...
I have the results of an experiment that is set up this way: I'm testing the effects of a human vs non-human stimulus on the dependent variable, an effect which is mediated by a mediator. Simple enough. However, I also want to see how gender can moderate this effect. Since gender only applies to the human stimulus, I h...
When fitting a cumulative link mixed model (clmm) using the ordinal package in R we have the option to provide random effects and scale effects. What I would like to understand is when to fit variables to these parameters? Specifically, in the case when you have multiple raters assessing multiple objects. I'll use the ...
As a learning exercise (following from here Why are Likelihood Functions from Exponential Family Convex?), I want to try and prove that the likelihood function for a Normal Distribution is not non-convex. Here is the Normal Distribution and its (Log) Likelihood: $$ f(x; \mu, \sigma) = \frac{1}{\sqrt{2\pi\sigma^2}} e^{ ...
I'm currently leading a group of missionaries and I want to find out how well each missionary is doing compared to the average in their area. Each area has a historical data of how well it's performed. Let's say one of the recorded statistics is new people met. I've calculated: The Average number of new people met in ...
I am currently trying to measure collocational strength using Mutual Information (MI). MI gives an edge for exclusive and infrequent words. As stated by Brezina (2018), in measuring collocational strength, one may use Mutual Information with this following formula: Log2(O11/E11), where: O11 = frequency of collocation E...
I have a model with a triple interaction involving two factors and one continuous variable. Replicable example: # %%% set.seed(1234) make_times <- function(n, n_per_group) { vector <- c() for (i in 1:n) { one_increment_sequence <- seq(0, to = n_per_group - 1) increment_vecor <- c(0, c(runif(n_per_group - 1...
In Dependence Modeling with Copulas (Harry Joe) I'm struggling to interpret the meaning of a statement. In Chaper 5.1, it is stated: Parametric inference for copulas For dependence modeling with copulas, most common is the use of parametric copula families. Advantages of parametric inference methods for copula models ...
Context: I'd like to fit a series of coordinates, each with their uncertainties, to a (hyper)plane. I am trying to derive the likelihood for a point on a plane observed at a point. I need a verification of what I did and, if possible, a source that I can cite. Suppose a point $\vec{x}$ on $\mathbb{R}^N$ follows a Gauss...
I have 40 samples that contain information about 6 variables (hence a 40x6 data matrix). Each variable (column) has a cumulative distribution function (marginal distribution) based on the 40 values, which is not Gaussian, whereas correlation matrix exist that relates the variable among each other (I am using Spearsman ...
Glossary: Sample SD = standard deviation of the samples that you currently have (control group). We havent started the treatment yet so we should not use the SD of the treatment group. MDE = "minimum detectable effect" = estimates the smallest improvement you are willing to be able to detect. Problem: I am getting a...
I have two KDE distributions, each with a different number of bins. I'd like to compare them effectively, and I'm wondering if there's a recommended technique for this. Should I unify the number of bins, and if so, what's the best approach?
I am reading some ANOVA notes and have a problem with proving two orthogonal contrasts are uncorrelated. Here is what I tried: Assume that $\bar X_i, i=1,\dots,n$ are uncorrelated. Suppose we have two contrasts $$ C_1 = \sum_i a_i \bar X_i, \quad C_2 = \sum_i b_i \bar X_i, \quad $$ We have \begin{align*} \text{cov}(C_...
I have some data where I follow some people for 365 days. I have a response variable that is either 1 or 0. The response variable is an event that may or may not happen between day 1 and day 365. If the event happens (1), I know at what day it happens. I've been doing logistic regression with success. Now the data has ...
I have a testing dataset of about 6000 images which I am going to try about 25 different neural networks on in a multi-class classification problem. Each network will belong to around 5 families (e.g. ResNet, EfficientNet, etc.) and within each family there will be several networks of increasing size (EfficientNetB0, B...
Given the following likelihood: $$\prod_{i=1}^{N} \frac{1}{\sqrt{2 \pi \sigma^2}} \exp\left\{-\frac{(y_i - x_i' \beta)^2}{2\sigma^2}\right\}$$ Thanks to the information matrix equality we have two choices to derive the theoretical asymptotic variance - either with the Hessian matrix or with the score vectors. Both shou...
I want to test for statistical significance of the difference between two independent samples of normally distributed measurement. However instead of comparing means or overall distributions I want the test to focus on the right tail (say 75th percentile and above) of the distribution more than the "middle" part or the...
In his book Probability Theory: the Logic of Science, Jaynes defines at page $107$ (chapter $4.5$) the continuous probability function. To do so, he introduces a real continuous "random" variable $f$ and divides the probability space into two discrete, mutually exclusive, exhaustive events $F'$ and $F''$ defined as suc...
I am working with a dataset comprising $k$ matrices, each representing different asset classes such as Stocks, Bonds, Linkers. Each matrix is of size $m \times n$, with $m$ being 10,000 simulations of $n$-year returns for these asset classes. Each entry in a matrix is a real number indicating the yearly return for a sp...
Good morning, I have a question concerning a data set where I'm training some data mining models. i have 72 observation, so i can't split my data set into training set and test set and I want to use k fold cross validation. What is the best value for k in this case? I have tried K=3 but I'm not sure about the result, f...
Currently, I am looking at a time series model (linear regression) that has 5 independent variables. The owner of the model says only 3 regressors are fed with input and predictions are made using only those 3. The two that are left out are AR and MA terms. I wonder whether is it EVER okay to do that?
I have 40 columns (variables); my PCA output (from Minitab) says PC1-PC14 account for 75% of my variation. How do I pick/determine which of the (original) variables in each PC column are most important? I see 5 (original) variables in the PC1 column with high positive values. So, those five are the most influential ...
Usually one wants to identify the most important predictors (x1, x2, x3..., xn) in a regression model. My question is reversed: I have a data set that contains a risk factor risk and several outcomes y1, y2, y3, ..., yn over time t. I want to find out which of these outcomes y1, y2, y3, ..., yn are most affected by ris...
I'm conducting a research in which patients went through a surgery, for some the surgery was successful (outcome = 1) and for some it wasn't (outcome = 0). The risk factors were calculated using a Cox model to get HRs (hazard ratios) with respect to different features that were collected about the patients. One of thos...
I have a group of subjects (n = 29), and they've been tested for two variables at baseline and after 1 year. For the argument, let's assume these two as var_behavior and var_brain. Hypothetically, and based on other studies, var_behavior ~ var_brain is an inverted U-shape relationship. Of note, age and gender of my sub...
Let's say I have a contingency table like this: event a present event a absent event b present 40 56 event b absent 23 238923 For my specific data, I know in nature that the probability of a and b occurring is low, then the possibility event a and b are bo...
I implemented a random-variance-estimation meta-analysis in R using the robumeta command. I am puzzled by the R output in terms of interpreting the significance level. I am copying an example of the output below. According to standard error and t-value, the effect should be significant at the 5% level, however, accordi...
I need to develop a discrete choice experiment in R, which is an unlabeled experiment. However, after delving into the theory behind discrete choice experiments, it remains unclear whether there is a recommended design to employ. Although the orthogonal design appears to be a suitable choice, it becomes non-orthogonal ...
I am wanting to plot a graph where I have multiple data points per category of data. For some context, I have done some analysis on different samples and now have up to 3 3 data points for each sample and I am wanting to present them in a lollipop chart-type way (see image). I'm wondering if this is possible to plot in...
In a paper introducing a general framework uniting several approximation methods for Gaussian Processes (GP) operating by imposing sparsity on the precision matrix [1]. The authors mention a particular latent process model which I am a bit fuzzy on. The way that this sparsity is achieved is by strategically assuming c...
I have a model with many discrete parameters between 1 and 99. Each step new parameters are sampled from a discrete uniform distribution with variable stepsize around the current parameter value, constraining the result to be between 1 and 99. Essentially I initialize the temperature so that only proposals moving down ...
I'm playing a 4-player game of cards. My opponents are called A, B and C. At the beginning of the game, each player has been dealt a hand of cards out of a deck containing 4 suits of cards: Black, Red, Yellow, Green. The game is ongoing. A few tricks have already been played, and during these tricks I've learned that: ...
Suppose I have two matched $N \times D$ datasets $X$ and $Y$. The samples are in matched order (with $n$th sample in $X$ being the same object as the $n$th sample in $Y$). The features are (or at least, should be) in the same "space". I am looking for a metric that measures the extent to which this is actually the case...
We can use quantile loss (a.ka. tick or pinball loss) for training a model or for evaluating predictions. (It is helpful to distinguish the two clearly, e.g. as done here.) I am interested in the latter case. What would be a good example (preferably from business, economics or finance) of a prediction problem where los...
In the classic paper "Dropout: A Simple Way to Prevent Neural Networks from Overfitting", there is a figure comparing the features learned by a one-layer autoencoder trained on MNIST with and without dropout. The features learned using dropout appear to be more meaningful. Does anyone know of a pytorch or tensorflow i...
I am running my GLMMs on R to test whether the effect of breed on the acoustic parameters of meows is dependent on sex levels (sex*breed) and to test whether the effect of emission context is influenced by breed levels (breed*context). The sex levels are M (male) and F (female), the context levels are B (brushing), I (...
This might be a weird question, but I have been asking myself the question for quite some days so I hope that someone can help me out: I have conducted an in vitro experiment where cells were treated with or without a compound. As a readout, I have received many data (inflammation; cell structure; etc.) and was now thi...
Recently in a slide in about PCA (Principal Component Analysis) I saw a question: "How much is the data energy loss in PCA?" Then in the next slide I saw somethings that do not understand relation of last steps to the PCA and energy. Here you can see part of slide that tries to show an example: Steps are: X as input ...
I'm dabbling in survival analysis, applied to cars. I created a survival graph based on age using Kaplan-Meier, in lifelines (python library). However, guidance on how to apply that graph to inference seems a bit thin (or I'm dense ;-) ) so I would like to ask you to validate my current calculation of how many cars wil...
I am trying to create a 95% confidence interval for the differences between this data which i'm assuming comes from a normal distribution. I have been searching although im unsure if I'm using the correct formula. This is for work. I have a mean, sd and n for data 1: Mean1 = 10 Sd1 = 2 N1 = 130 And similarly for data 2...
I'm facing this machine learning problem in real life, that turns to stem from a statistics problem. Given a test set S of size N samples with a statistic x (x is the mean accuracy across the N samples), I want to know if the test set S is large enough for my prescribed confidence interval width and confidence level (o...
Suppose I have X, k*n, where $M=X'X$. Suppose $n>>k$, and $rank(M) =k-1$. Suppose $\lambda_1, \cdots, \lambda_{k-1}$ are the eigen values of M. Under the assumption that the columns of X are random, what can we say about the distribution of $\lambda_{max}$? Here is my applied problem. Suppose the columns of X are obser...
Context I'm working on a project where I need to understand the impact of some variables on satisfaction (y). My y variable is an NPS measure, ranging from 0 to 10 and does not have float values, only integers. I plotted a histogram of that variable, here is the graph: Questions What distribution is this? How can I t...
I Hope this letter finds you well. I am conducting a meta-analysis, and some of the studies have reported data in geometric least squares mean and confidence intervals, while others have presented data in mean and SD. My first question is how to address such disparate data, as far as I know that we cannot combine them ...
apologies in advance for my bad statistics. I am trying to evaluate two models based on their adverse impact ratio (AIR), which is defined as $$ AIR = \frac{\text{approval rate for protected class}}{\text{approval rate for control class}} $$ The approval rate is determined by a threshold parameter (approve if the model...
I am writing a paper, and I hit a singular obstacle. What are databases in statistics nomenclature? How do we call databases in statistics vernacular? Populations or sample population or databases or just datasets Obviously, statisticians and data scientists make heavy use of the term dataset in statistical analysis, s...
Team A and Team B are competing in a sports game and the score is currently tied at 10-10. The first team to win by a margin or two will win the tournament. Team A has 65% chance of winning each point and Team B has a 35% chance of winning each point. What is the probability that Team A will win the overall match? My...
I am trying to run a kruskal-wallis test on my dataset. Dataset is given below: condition <- c("hitBeforeSuction", "hitBeforeSuction", "hitBeforeSuction", "hitBeforeSuction", "hitBeforeSuction", "hitAfterSuction", "hitAfterSuction", "hitAfterSuction", "hitAfterSuction", "hitAfterSuction", "FAbefore...
I have two species community matrices, where each row is a site and each column is a species. The rows and columns are the same for each matrix (i.e., row 1 = site 1, column 1 = species A for both matrices). Although the sites and species are the same, each matrix has species abundance measured in a different way by di...
Assume that I am running the following regression: $\hat{y_t} = \beta_0 + \beta_1 \cdot x_t$ where as $\hat{y_t}$ is a continuous variable. Lets assume a gaussian likelihood and nonconjugate priors such as $\beta_0 \sim N(0, 1)$ and $\beta_1 \sim Beta(1,1)$ Let's assume I have a dataset spanning from timestep $0$ to $...