instruction
stringlengths
9
38.7k
My text book defines levels of measurement and measurement scales as the same thing. They can be divided in: Categorical Nominal Ordinal Numerical Interval Ratio Are they actually the same?
When multiple random variables are summed up, their sum converges to a normal distribution. If the RVs are instead multiplied together, the product tends to a lognormal distribution. There are some lesser known theorems that describe the distribution of the $\min\{X_1,X_2,...,X_n\}$ or the $\max\{X_1,X_2,...,X_n\}$ as ...
just a question my data is not balanced and to address the imbalance I am using cost sensitive logistic regression however the results are surprising, ROC AUC = 0.69 and PR AUC = 0.007 does the Pr Auc score indicate that my performance is worse than guess? Is working on a binary classification.
Is there an acceptable range for %residuals value? When looking at %residuals from calibration curve is there an acceptance criteria for the values?
What we found in our paper was that, after controlling for a bunch of other covariates X, the treatment T determine the outcome Y through the mediator M, with M fully mediating the relationship (after controlling for X). In order to prove mediation, we used the Baron & Kenny model[1]. In particular, we regressed (1) Y ...
My sample consists of 30 patients. These patients had three times of hormonal dose measurement: Time 1, Time 2, Time 3. So 3 three measurements. The aim is to evaluate whether the average dose (in the blood) of hormone varies over time. The distribution of the hormone dose is not normal. So I decided to do a non-parame...
I've built on my own neural network library with keras-like syntax. I noticed that when using 2 consecutive ReLU activated layers, and the 2nd of those layers has its weights initialized to negative values, the network will always output the same value and can not learn? Since ReLU output is always positive, with negat...
Consider multiple videos with N frames. I have M models and X XAI methods. Basically, i've trained and evaluated some models (classification task, real/deepfake) on these N frames and I've obtained some results with different XAI methods. Now I would like to find like a 'metric of credibility' of the results that I got...
In one country, there are exactly two types of diseases, perfectly independent. Let A: "person has first disease", B: "person has second disease". We assume that P(A) = 0.1; P(B) = 0.1 Now anyone who has one of these diseases goes to the doctor and only then. Call C: "person goes to the doctor". We have C = A or B. No...
I ran a logistic regression model in R and then wanted to calculate the predicted probability for my two independent variables. My dependent variable (DV) is binary (0,1). I used the effects package to calculate them. Here's the predicted probabilities: I am not sure how to interpret these figures since they do not pr...
I started off with finding L(Xij; θ), but I'm still struggling to get to this equation in the problem. Any help would be appreciated. Thank you!
I'm analysing data from a study with a control and a treatment group. There are four questions on purchasing decisions for different products. Each question uses a 4-point Likert scale asking respondents about their attitude towards some products. For Example: Control Group: Strongly Disagree Disagree Agree Strong...
Cross-validation involves splitting data in training and test sets (several times) and assessing the goodness of applying the fitted coefficients from the training set to the test set. I was wondering which goodness measures can be used there. Using regular likelihood, r-squared, adjusted r-squared etc is discouraged f...
I am brand new to Bayesian statistics. I want to perform a linear mixed effect model via the brms package in R. To do that, I have to set priors in my model fit. I use the get_priors function and apply those in the model fit. library(readr) library(brms) library(bayesplot) pre = read_csv("C:/mixed_model1.csv") pre$regi...
In VQ-VAE, we separate the codebook alignment loss $||sg(z_e(x))-e||^2$ and the commitment loss $||z_e(x)-sg(e)||^2$ where sg stands for the stop-gradient operator, and the loss is $||sg(z_e(x))-e||^2 + \beta ||z_e(x)-sg(e)||^2$ where $\beta$ is a hyper-parameter. I checked and at least for MNIST images reconstruction ...
Suppose $Y$ is a given (real-valued continuous) random variable. We define any variable $X$ as exogenous to $Y$ if $\forall X: E[Y|X]=X$. The question is this: For a given $Y$ , What is the minimum variance of all $X$ exogenous to $Y$? \Has this question been studied before?
I'm reading about VQ-VAE and I'm not sure why do they say we can view it as a VAE. Can you explicitly show: what is the latent z-space - is it the discrete space where z can take the integers 1..K where K is the number of embedding vectors? what is the true posterior p(z|x)? is it indeed intractable to use for calcula...
I want to estimate the effect of d on y using a simple 2x2 DiD model with a balanced panel (I observe treatment and control group before and after treatment). I suspect that parallel trends are more plausible with a time-varying covariate X, so I want to control for this. Running a TWFE regression (equation 1) with ind...
I want to compute a 90% confidence interval for a mean response at a specific x value, and a 90% prediction interval for the individual response at that same X value. The way I know how to do this in R is by using the predict() function, but this function create 95% intervals, and I want 90%. How do I do this?
I'm training a binary classification model for fraud detection and my historical dataset is extremely imbalanced. I have tried training a LGBM and XGBOOST models and in both cases I've set the parameter class_weight = 'balanced'. When running predict_proba, it only returns extreme scores, that means only values close t...
I'm trying to normalize this skewed data as part of data preprocessing, but it doesn't normalize no matter which transformation I use to the point it's making me crazy :') . The methods which I've used with their respective skew scores (top is without transformation): Wage skew: 7.30956424189345 Wage skew when log tran...
Let $Y \in \{0,1\}; P(Y=1)=\beta$. We have no observations of $Y$. Instead, we observe a sample of $A$,$B$. We can assume that $P(A,B|Y)=P(A|Y)P(B|Y)$; $P(A=Y)=P(B=Y)=\alpha$; and that $P(A=Y|Y)=P(A=Y)$, P(B=Y|Y)=P(B=Y). In other words, $A$ and $B$ are binary variables, are conditionally independent given $Y$, and have...
I want to model current levels of Presidential approval at the state level, based on (a) national poll (averages) of Presidential approval and (b) state level variables, particularly the percent votes for Biden in the 2020 election, and potentially adding demographic or other political variables. This is because there ...
I'm currently using CatboostRegressor(iterations=500, random_seed=123, cat_features=['month_number', 'day_of_week', 'year']) for developing a 1-year predictive model at a daily level. The predictor variables are time feature date, categorical features A1 - A4 (e.g. A1 = Group: 1/2/3/4, A2 = Class: Upper/middle/lower) ,...
Can I do principal component analysis when I have only dummy variables? Is it preferable to construct quantitative continuous variables (when possible) using the dummy variables and then run the pca on these newly constructed variables?
I'm trying to learn Bayesian statistics, but I'm having a lot of trouble actually applying theoretical concepts to data. I'd appreciate any feedback on my line of reasoning. Say I have historical data containing independent observations of a continuous random variable $X$, where $X$ doesn't follow a normal distribution...
As I am currently preparing for a econometrics exam I struggle to recall the correct theoretical explanation for the connection between the expected value of a estimator given the matrix of all estimators. Particularly, in need help in the explanation for the correct answer which is marked in yellow in he picture below...
There is something about statistical inference after (linear) model selection that I can’t wrap my head around. Let’s take Lasso, for example; I am interested in doing hypothesis testing on the (estimated parameters of the) selected variables. Obviously, one needs to correct for the “data mining” that goes into searchi...
Commonly used in diffusion models (https://arxiv.org/pdf/2006.11239.pdf), what does the notation, $\mathcal{N}(x_{t};\mu_{\theta},\Sigma_{\theta})$ mean? I get the parameterized by $\mu$ and $\sigma$ part, but I'm unclear exactly on the $x_t$ part.
I have to do a PCA in R for a project, but I have 300 data in 15 different groups, and I want to find the variables which gives me the most variability between the groups and cluster my data in their own group ( so not between all the data) so I can do an analysis later while using these variables (I have 4000 very sim...
In R: I have a sample (y) of length 1e4. y = sample(0:200, 1e4, replace = TRUE) I have plugged this sample into: dbinom(y-x,100,0.3) However, I would like to gather samples from this function but simulate for x values from 0:200 i.e x = 0:200 For e.g. the first iteration will be 1e4 samples of dbinom(y-0,100,0.3) which...
You are given an urn with 100 balls (50 black and 50 white). You pick balls from urn one by one without replacements until all the balls are out. A black followed by a white or a white followed by a black is "a color change". What number of changes is the most likely to occur? My answer: 99, as when you make a choice t...
I am struggling to understand the concept of assigning the random effect when using a mixed linear model to analyze my split-plot experiment in R. Below is the data I am working with. This should create a data frame when pasted into R: data <- data.frame(plot = c(101, 102, ...
I'm working on the following question: A device contains two components, A and B. The lifespans of A and B are both exponentially distributed with expected lifespans of 5 years and 10 years respectively. The device works as long as both components work. What is the expected lifespan of the device? I'm aware that A ~ Ex...
Recently I did a school project where instead of predicting height as a continuous value, we turned it into three categories of 'tall', 'average' and 'short' and predicted it via logistic regression with some other, mostly categorical, variables. We were told to use first quartile of '175' and third of '185' to divide ...
If we have a non-linear regression model $y = x_1\beta_1 + x_1^2\beta_2 + e$ (where usual assumptions hold). Say that $y$ is your hourly wage and $x_1$ is the number of years of education. How would I go about testing a hypothesis that we would expect someone with 10 years of education to have a wage of $20 (per hour)?...
Let us suppose that I have a dataset with 3 features and that I know the pairwise correlations among these features. Let us suppose that I want to build a synthetic dataset that respects those correlations, simulating the real dataset. So, I would provide fake values for one of the features and I would like to calculat...
I am unable to reconcile the new survey adjusted AIC calculation (dAIC) used for multiple regression in version 4.1-1 of the survey package on CRAN for modelling data with complex survey weights. I have reached out to the author, Thomas Lumley, but haven't received a response. The survey design adjusted dAIC is given i...
I am trying to understand the step by step process of how to estimate the beta coefficients in a CoxPH model. I first get the beta estimates using the coxph() function in r for a sample dataset of six records. Then I manually calculated the partial likelihood function, L(β) and partial log-likelihood function , l(β). I...
Im currently learning Classification Neural Network and Im working with imbalance dataset. I have 2 model with 2 different result and 4 type of classes. The 1st model there are no sampling or dimensionality reduction made with about 12000 data. 1st Model Model: NN Accuracy : 91% CM : The 2nd model, I perform ratio sam...
In Probabilistic Graphical Models by Koller and Friedman, there is a proposition - The PDAG $\mathcal K$ returned by Build-PDAG is necessarily chordal. Build-PDAG is an algorithm that builds the equivalence-class-PDAG for the perfect map, if one exists. My confusion is with the definition of chordal graph. If a PDAG ...
I am working with counts data and I need the estimated coefficients for the mean to be non-negative for interpretation reasons. So far, the only two packages support this are addreg and glmnet. However, addreg only suppports Negative Binomial 1 (NB1), but I want NB2 model. As for the glmnet package, I have two problems...
The question comes from a paragraph in page 171 of "Pattern Recognition and Machine Learning" by Christopher M. Bishop: Here $\mathbf\Phi$ is the design matrix for a data set of $N$ samples $$\mathbf\Phi=\left( {\begin{array}{*{20}{c}} \phi_0(\mathbf x_1)&\phi_1(\mathbf x_1)&\cdots&\phi_{M-1}(\mathbf x_1)\\ \phi_0(\ma...
When doing a linear regression using MCMC, you have to specify prior distributions for the values of the regression coefficients of the independent variables. If all of the priors are Gaussian distributions with mean 0 and the same standard deviation, then the MCMC technique gives the same result as a Ridge regression,...
I have a dataset with 28 ordinal variables and 1402 individuals and I am tasked to apply MCA method to create a socio-economic score SES in order to assign individuals into socio-economic groups based on the association patterns of their answers to the 28 questions/variables. After coding the dataset using R and applyi...
For my mini project I have to compare the number of different species observed accross 9 different locations. Every location has 3 replicates, so in total there are only 27 observations. I wanted to do an ANOVA and I thought I need to use glm of the poisson family because this concerns count data. However, the variance...
At a wedding reception on an evening the representative of the host is taking it as an occasion to exercise and explain a classical analytic problem. specifically, he insists that he would start serving the food only when the first table, which is arranged for 12 guests to dine together, has guests born in every twelv...
I see some kids playing on a circular gameboard trying to visit every field and I wonder how long it will take before they finish. I can simulate it like below, but is there possibly an elegant solution that can compute or approximate this? Rolling with a single 6 sided dice and moving on a Monopoly style board (36 fie...
My data frame is around 32 data points (patients) x 1000 features (numerical blood biomarkers, eg. glucose concentration, protein concentration, etc.). I am classifying medical information with 1 or 0: diagnosis or no diagnosis (already given - so it's a supervised learning task). I want to show which of the feature or...
thank you for taking the time to read my question. So, I have the following issue: I am trying to establish whether or not two categorical variables are associated (according to what we know, they really should be). At first, I used a Chi-Squared-test; however, the subjects are clustered and the ICC is 0.15, so I decid...
Context I am using survival::coxph() to fit the cox model. I want to get HR for exposure factors under different sex. I am using the dataset lung from the survival package to simplify the problem I am having. Say that I want to get HR of ph.karno (Continuous variable) in different sex (Categorical variable). I can do t...
I'm reading through these lecture notes on posteriors and conjugate priors. https://web.stanford.edu/class/stats200/Lecture20.pdf In particular, it asserts that: "This is proportional to the PDF of the Gamma(s + α, n + β) distribution, so the posterior distribution of Λ must be Gamma(s + α, n + β)." on page 20-4. Why i...
I am currently exploring ways to check the normality of a given variable in the dataset. Since most algorithms assume a variable's gaussian distribution, it is important to check it. A Q-Q Plot Came across the QQ plot before, and have found that comparing the data points on the plot with the OLS line sounds helpful. No...
I am working on binomial and betabinomial models using glmmTMB (also on negative binomial) and I am using DHARMa package to test the residuals. But I am having a problem with the outcome. All of the test show that N.s. results, when I test for outliners, dispersion and zero-inflation, seems like there are no problems i...
According to Wold's Theorem, any covariance-stationary process can be decomposed as the sum of a deterministic part and a purely non-deterministic part, where the latter one has some MA infinity representation. My question is: for an ARMA(p,q) model, can we treat the AR(p) part of the model as the deterministic compone...
If I'm trying to avoid Auto-Arima function, is their any handy table/reference list which I can refer to for knowing what value of m to choose for working with SARIMA(p, d, q)(P, D, Q)m model? Or, is these collation of values from different sources right? Daily data m=7, Weekly data m=53, Monthly data m=12, Quarterly ...
I want to determine which number of page visits is needed to give a statistical signification of a clickthrough rate of a page. Example: Page Visits =100 Clicks On Page= 50 Page Click Through Rate = 50% How can I find out, how significant the result of 50% is? And how do I define the minimum amount of Page Visits neede...
I have to analyze gene expression data acquired by DNA microarray experiments. Unfortunately, I never had a good lecture on statistics, which is why I'm often struggling with data analysis. The biological experiment I'm analyzing was designed as follows: A cell culture was split into 4 equal batches, three of which we...
What is the most appropriate test to find if the differences in conversion rates are statistically significant in the case I'm comparing multiple different groups? e.g. I have different groups of ages (teenager, young, adult, elderly) and a conversion rate related to each of them in my website. How can I validate the d...
I am trying to learn how to modell data (x and y) that looks when plotted like this: Can someone perhaps recommend any good literature or video series on how to do such task?
I want to estimate a quantity and have two choices for estimators (they both sample from the same distribution). I suspect one of them is nosier and has a slower convergence rate. I want to mathematically proove this, but I don't know where to start. Is there standard reference in statistics that I can consult for exam...
Is there any meaningful sense in which the backshift operator can be said to have a derivative? Here's my attempt at constructing one. Based on some helpful threads on this site, I represent the backshift operator $B$ as a matrix (showed here for an example time series of length $3$): $$ \begin{pmatrix} 0 & 0 & 0\\ 1 &...
When talkin' about time series models, ARIMA, SARIMAX, Prophet or VAR is what mostly is on the table. But what would the benefit be of using a Gaussian Process Regressor instead, in which situations could such a model be a good choice? And in which situations is it definitely not a good idea to go forward with?
My attempt is like this: Let $X \sim \text{Weibull}(\alpha, \lambda)$ be a random variable following a Weibull distribution with pdf $fx(x; \lambda) = \begin{cases} {\alpha}{\lambda^{-\alpha}} x^{\alpha-1} e^{-(x/\lambda)^\alpha} & x \ge 0\\ 0 & x < 0\\ \end{cases}$ $\begin{align} E(\widehat{\lambda}_{mle}) &= (\frac{\...
I have data on the sales of products sold at various retailers. My interest is in uniquely matching the product class to another arbitrary class. For example, for two sets of hypothetical classes: Product Class Arbitrary Class Frozen Cod Fish Frozen Cod Frozen Food Fresh or Frozen Meat Fresh Meat Fresh or...
I'm using a result from the dissertation of Poddar(2016, link) and he states the following in his appendix A1: We will use the well known property, stated here for completeness, of the multivariate normal distribution Since this results in negative variances in my code, I'm wondering whether this is correct. No refere...
TL;DR Struggling with factorial three-way anova, in particular post-hoc tests and multiplicity control. Four continuous dependent variables. Three categorical between-subject independent variables: A (2 levels) B (2 levels) C (4 levels) Unbalanced groups: Median group size is 17, IQR is from 11 to 54, range is from...
Suppose that $X \sim \mathcal{N}(r + \frac{1}{N}, s) $ and $Y \sim \mathcal{N}(r, s)$ for some $r, s \approx 1$ and $N \approx 10^6$. What are good approximate formulas for the quantity $$\frac{ \mathbb{E}(X 1_{X > n})}{\mathbb{E}(Y1_{Y > n}) + \frac{1}{N}}$$ as a function of $r$ in the limit where $r \approx n$? The p...
I have a panel data set I'm using to model a binary response. I have developed 3 alternative models: A simple logistic regression, pooling all the observations A conditional logistic regression, stratifying the data by individual (I understand this is the binary equivalent of a fixed effects model) A random effects lo...
I'm looking for more machine learning online self-study materials. I have taken Andrew's CS229 course, and participated few Kaggle competitions and found that they are very good self-studying materials, and love them very much. I want to go deeper into math and, at the same time, train myself to apply machine learning ...
I have an air pollution variable (PM2.5 measurements) for a dataset of 9,506 participants based on geographical location. Because many of the participants live in the same general area, there is a large proportion of observations with the same exact value for PM2.5. For example (biomeclean being my df and avgpm25 being...
I'm reading Judea Pearl's smoking and lung cancer example illustrating the front-door criterion for counterfactual analysis (p. 225 from Pearls' The Book of Why: The New Science of Cause and Effect). One of the assumptions is the mediator variable measuring tar deposits in subject's lungs is exclusively caused by smok...
$Q:$ When should I consider pre-stratification(blocking) vs post-stratification? From experiments, I would certainly consider pre-stratification but post-stratification seems to homogenize the sample after the study. $Q':$ How do I justify each usage in general? Note that in ANOVA, blocking depends upon the efficiency ...
I'm reading two descriptions of the VQ-VAE objective: Kingma claims in page 18 that we want to maximize the ELBO, and shows that it can be written as $ELBO = logp_{\theta}(x) - KL(q_{\phi}(z|x)||p_{\theta}(z|x))$, the marginal likelihood of the data - the KL divergence between the approximate posterior and the true pos...
I have a dataset with classes [a, b] where during training I have made sure that the dataset is equally balanced. I have trained the network using cross-entropy loss with equal importance. I am able to achieve an accuracy of around 90% for both classes a and b. However in reality I would prefer to network to have much ...
I have two datasets coming from the same monitoring device. One dataset measures speed based on GPS and the other measures the speed based on acceleration. Assuming GPS data is the most accurate, I need to compare the datasets to see how similar or different they are. When data are compared visually, I can see they are...
Autoencoders cannot process large-scale data sets efficiently, due to its serial implementation. can you please explain why it happens? Thanks in advance!!
Intro I built a clustering algorithm for a specific problem I have. The clustering algorithm wasn't my main goal, I just had to be able to separate the data into clusters prior to further processing, and I wanted to see if I could cluster the data so that I can later run my further processing on unlabeled data. Some De...
In the Wikipedia definition, the feature vector is defined as a histogram, as well as in this popular and well-done YouTube video. However, if the features are words, then the variable is nominal and, therefore, the distribution cannot be estimated by a histogram (rather, it would be a bar chart). Are these two sources...
R's documentation behind ?runif states that the default RNG is "Mersenne-Twister": From Matsumoto and Nishimura (1998); code updated in 2002. A twisted GFSR with period 2^19937 - 1 and equidistribution in 623 consecutive dimensions (over the whole period). The ‘seed’ is a 624-dimensional set of 32-bit integers plus a ...
In order to better understand some statistical concepts I generally try to run simulations to get to those results and see how the results match the theory. While reviewing the Poisson and the Exponential distributions I decided to simulate a Poisson process following my understanding of it. However I ended up using Be...
In the Bayesian setting, we update prior distribution $\pi(\theta)$ to posterior distribution $\pi(\theta | x)$ given data $x$. So data $x$ provides an operator $T_x$ on the set of distributions on the parameter space. $$T_x: Dist(\Theta) \to Dist(\Theta)$$ In many cases, people argue on which prior distribution to tak...
I want to test my theory against a set of scenes. Specifically, I have 10 2x2 contingency table with observation and expected frequencies. Since there is only one model rather than 10 different models, I want an overall p-value covering all data. My assumption is that my theory can predict the success rate of ALL scene...
Cross entropy for a random variable $x \sim p$ and a distribution $q$ is defined as: $$H(p,q) = -\sum_{x\in\mathcal{X}} p(x)\log q(x) = \mathbb{E}(\log q(x))$$ $\mathcal{X}$ is all possible values that the random variable $x$ can take. However, in the neural network world, the cross-entropy loss is defined as $$loss = ...
Model Details After some thought about previous questions I've posed here, I've decided to add splines to non-linear terms in my logistic GLMM. However, there are a number of questions I have about doing so, and the answers on here seem fairly non-specific to my issue. My original model is a logistic GLMM that goes som...
I have read multiple tutorials that talk about tuning the number of trees (n_estimators or num_boosting_rounds) as a hyperparameter. However, when I train the tuned model, I can see that the loss curves do not fully plateau. My question is, why do we tune the number of trees if it is not going to minimize the loss duri...
To use AR/MA/ARMA models, the data needs to be stationary. Detrending data by taking differences between sequential data points seems to do this. However, does decomposing the data do the same thing? By separating data into seasonal and noise data, isn't the noise the same as the "detrended" data? If we remove the tre...
I am new to this but I was wondering how to prove this. I can reduce A†A to (VΣ†UT)(UΣVT). Would I have to reduce the UT and U to the identity matrix and just continue to simplify? I would get something like (VΣT)...(ΣVT), I guess I need help doing a full simplification of A†A
According to the definitions: The correlation matrix reports the correlation of each variable with each dimension. Contribution refers to the contribution of each category of each variable to the dimension. I have two questions regarding the interpretation. How to interpret these correlations and, how is it different f...
$X$ is a random variable with mean $\mu$, variance $\sigma^2$, skewness $\gamma$ and kurtosis $\kappa$, and $ \mathtt{Var}[X^2]=0.$ Under what conditions can $\mathtt{Var}[X]=\sigma^2 >0$? Is my reasoning below correct or can it be done in a simpler way? We have that $$ \mathtt{Var}[X^2] = \sigma^2 \left( (\kappa-1)\s...
I want to explore the effect of time of a day on 4 different medicine types in a between group design. My data looks like: Medicine Type Participant Time of the day First 1 Between 9 am - 12 noon First 1 Between 12 noon - 3 pm First 1 Between 3 pm - 6 pm First 1 Between 6 pm - 9 pm First 1 Between 9 pm ...
I fit a model with transformed data with log10 transformation. I would like to report the results using the original scale and not the transformed means. I know you can back transform the log means by taking 10 and raising it to the power of the log-mean. I would also like to have the standard error back-transformed. I...
Let $X$ be the number of hits in $N$ tries, I know that the probability of the next hit is $P(\text{Hit}) =X/N$. How can I get the generic expression for the probability distribution function of hitting $x$ hits in $N$ tries, knowing that the probability of hitting the first shot is $p_1$? I've been trying to find the ...
I'm wondering how the cumulative incidence function for a single event type is computed when you specify that you want to get separate curves for, for example, treatment vs placebo. One curve ends up above the original curve (generated independent of treatment group) and one below, whereas I thought they would both be ...
This question Why are all regression predictors in a balanced factorial ANOVA orthogonal? asks why all predictors in a balanced ANOVA setting are orthogonal. My question is in what sense are the predictors orthogonal? The model $$y_{ijk} = \mu + \alpha_i + \eta_j + \gamma_{ij} + \epsilon_{ijk}$$ can be understood as a ...
If $X \rightarrow_d aY$ and $W \rightarrow_d Y$ where $a$ is a constant in $\mathbb{R}$. Is $$X + W \rightarrow_d (a + 1)Y$$ true due to the fact that the limiting random variable is the "same"?
I'm training a Sarimax model using recent 20 observations sampled monthly, PACF and ACF plots of the series are: I'm fairly new to time series, but according to tutorials and articles, I've come to an understanding that lags under the confidence intervals are insignificant and lags above it are considered significant...
I apologize in advance if this question has been already solved elsewhere, I have search for it but I could not find a solution for my problem yet. I want to assess the effect of forest cover on species presences and absences using logistic regressions (glm family=binomial). I have a large dataset (data compiled from d...
In flexsurv the var-covar matrix of the parameters can be produced with the vcov() function. This will produce a var-ovar matrix for the shape and scale parameters provided by the function coef(). Rather than use shape, I want to find the var-covar for m = exp(scale)^(-exp(shape)) and scale. I was wondering how I would...
Let $Y_1, . . . , Y_n$ be a random sample from a Poisson distribution with parameter $\lambda > 0$. One observes only $W_i = I_{Y_i>0}$ (indicator function). Compute the likelihood associated with the sample $(W_1, \ldots, W_n)$ and the MLE in $\lambda$. I attempted this problem, but have not obtained results that seem...