instruction stringlengths 9 38.7k |
|---|
I am reading Robin's What If Causal Inference book Chapter 4 section 1. In the book, it says the following assertion where $V$ denotes subset of the groups. I could not figure out the reason why
"In the presence of qualitative effect modification, additive effect modification implies multiplicative effect modification,... |
The following is the Hessian matrix given to me from R's optim() function:
10230 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
How can I interpret this? Is the first parameter that optim() optimized the only parameter that we can make uncertainty quantification on? Are the last 3 parameters' optimized values not credible... |
I have been exposed to Canonical Correlation Analysis (CCA) a few years ago and I still find it mathematically elegant and beautiful. On Cross Validated there are several interesting posts on CCA, most of them with quite detailed answers. However, from a practical point of view, I still fail to find compelling applicat... |
Suppose that $X$ is a continuous random variable with PDF:
$$f_X(x)=\begin{cases}
4x^3 & 0<x\le 1\\
0 & otherwise
\end{cases}$$
and let $Y=\frac{1}{X}$. Find $f_Y(y).$
My approach:
First, find the CDF, $F_X(x)$:
$$F_X(x)=\begin{cases}
0, & x\le0\\
x^4, & 0<x\le 1\\
1 & x>1
\end{cases}
$$
Next, find range of $Y$, $Y\in... |
I have a data set with lots of small integer values and occasional large integers. For instance 1,1,1,3,2,1,320,2,3,4. I would like to scale my outlier values such that I can perform regression on my data. The conditions for rescaling are - I need only integer values and the transform must be reversible. ie if I scale ... |
$$ f(x) = \frac{\pi}{2b}\sin\left(\pi\frac{x-a}{b}\right),~~x\in[a,a+b]$$
So it's a pretty simple distribution, which is just a scaled sine wave. As an experiment, I was trying to find the MLE estimates of $a$ and $b$ but I can't find it for $b$ and the result for $a$ doesn't seem to work. Intuitively, you want to move... |
This is a negative binomial distribution. How would you solve this equation?
|
I have two processes, A and B. I have tested A and B separately on different tasks, and each performed at a 90% level on their tasks (say, text classification). Now, I pick a random set of 100 tasks to compare A and B, and on the random set, A did better on 60 of the tasks, and B did better on 40 of the tasks. But t... |
Suppose there is a regression with three variables $X_1, X_2, X_3$. Say $X_1$ and $X_2$ have near-multicollinearity, but $X_3$ is (nearly) orthogonal to both.
Will $\beta_3$ experience the same problems the other two coefficients?
|
Suppose I have two groups which are uniformly distributed random betwee 0 and 100. So combined score is 200.
I want to know the the number of observations and correlation which obtain a joint score of more than 100.
I have the following:
X = matrix(runif(n = 200, min = 0, max = 100), nrow = 100, ncol = 2)
Which gives ... |
Covariance
The covariance of two quantities $X$ and $Y$ within a population, $Cov(X,Y)$, is symmetric and bilinear. It is also true that $Cov(X,X) \ge 0$. So, clearly $Cov(X,Y)$ qualifies as an inner product, and it measures how much the two quantities vary with each other. My question is whether or not there is some c... |
I have to do a PCA in R for a project, but I have 300 data in 15 differents groups, and I want to find the reduced space 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 ver... |
I realized in variational inference, our goal is to approximate $p(z|x)$ with $q(z)$. So we minimize $KL(q(z) || p(z|x)) = \mathbb{E}_{z \sim q} log\frac{q(z)}{p(z|x)}$. We then manipulate, through some simple steps, to arrive at:
$$ = \mathbb{E}_{z \sim q} \left[ log \frac{q(z)}{p(z,x)}\right] + logp(x)$$
and then the... |
I just want to confirm -
our review volume has an upward trend but no seasonality. I can use holt's exponential smoothing. Right?
for average ratings, no trend, and no seasonality. simple exponential smoothing?
Are there any other factors I should consider? Thank you!
|
How can I get predicted R-square along with R-square and Adj-Rsquare in statmodels?
code
import statsmodels.api as sm
import numpy as np
import pandas as pd
import statsmodels.formula.api as smf
from statsmodels.stats import anova
mtcars = sm.datasets.get_rdataset("mtcars", "datasets", cache=True).data
df = pd.DataFra... |
My goal is to learn hypothesis testing. My understanding is that we do not have the population data. Therefore, we do not know the estimated population mean. So, we guess the population mean. If that so, can we change the population mean until the p-value is below 0.05, so we have enough evidence to reject the null hyp... |
I have a model with one latent variable (two observed variables A and B). I think variable A is contributing to the majority of the entire model's significance, and variable B might contribute less or none. I wonder whether there is a way to compare statistically the contribution of observed variables A and B to this m... |
I am trying to apply Kaplan-Meier survival analysis from the Reliability package in Python to a problem with discrete time periods, and I'm having some trouble understanding which periods to list failures and right-censored data in.
My problem input is described (with made-up data) as follows:
I have 200 people in a tr... |
I am having confusion for percentage calculation for marks I have obtained in my exam.
I have 9 subjects with total 900 marks (100 marks each) and out of them I got 699.
Two more subjects with total 100 marks (50 marks each) and out of them I got 48 and 46 marks.
Now, how can I calculate the percentage I obtained for t... |
$y = f(x,...)$
$y$ represents the total effort in hours to complete a mix of tasks (each $x$ is a different mix) of varying complexity. It might be a non-linear relationship, but for now, I only have the count of tasks. No complexity data. I'd like to understand the correlation between total effort and task count.
A si... |
Consider this example. Suppose we have three events to happen with probability $p_1=p_2=\frac{1}{2}\sin ^2\theta ,p_3=\cos ^2\theta $ respectively. And we suppose the true value $\theta _0=\frac{\pi}{2}$. Now if we do $n$ times experiments, we will only see event 1 and event 2 happen. Hence the MLE should be
$$\mathrm{... |
I am analysing some data with glmer (lme4). This is what the data looks like:
Animal_ID Environment Sex Br_Status Group Day M_time
1 DamELC01 colony female nbr fnbr 1 26.1
2 DamELC01 colony female nbr fnbr 2 12.9
3 DamELC01 colony female nbr fnbr 3 8.3
4 DamELC01 ... |
From the same dataset and same ordinal regression model, I get two different intercept outputs with Python's statsmodels library (OrderedModel function) and with R's MASS package (polr function), and I don't understand why.
I don't know if the problem originates from a software issue or from a statistical issue/interpr... |
Q1) How to interpret the Seasonal Decompose (Additive V/S Multiplicative) plotted against the same dataset?
Q2) And, on the basis of the below plotted Observed data-points, which decomposition one makes more sense, and why?
Observations from Multiplicative Decomposition:
Seasonal & Trend chart scales between 0.99 to ... |
Motivation:
I have a 4x4 table of positive values (let's call it $A$) with the bottom right value missing ($A_{44}$ is not defined), and I think/assume the table is a ratio-table with just a little bit of noise.
My goal is to find the missing value.
Mathematical formulation:
The way I am seeing this problem is approxim... |
I am going to post it here, as suggested in stackoverflow:
I am analyzing percentage data with glmer, and I have read that Gamma family should be suitable for this kind of data. I have checked my data and there are no values below 0, but I still get an error saying I have non-positive values.
> summary(total_F$p.prcn... |
In a setting with a binary outcome logistic model focusing on a binary treatment, how would you translate the average marginal effects to make it understandable to a layperson?
Let’s suppose the treatment X has an AME of -0.025, meaning that the probability that y=1 decreases by 2.5% points when X=1.
Could we say the t... |
I have biomass data collected at 3 different distances from 42 different ant mounds (at the edge of the mound, 1m and 4m away). In total there's 42 ant mounds, from 11 plots at 5 different elevations (the samples is unevenly distributed by elevation, where the highest elevation only consist of 3 mounds and the lowest o... |
If my linear regression model provides good results on the test set, and my main goal is to predict correctly, is there still a reason to plot the residuals and check the residual assumptions? (for example, to check if they are independent)
Let's assume the regression model has good results for a relevant metric for my... |
I have a binary classification problem, where there are multiple correct predictions, however, I would consider the prediction to be correct if the highest confidence prediction of a 1 is correct.
I have had limited success with a CNN using the mean square error loss function. I think the reason is that, this loss func... |
Consider the below time series. I have marked a typical outlier (that needs to be removed) and a typical level shift (which is genuine data, not an outlier).
The above time series is easy to handle by simple "differencing" and dropping any two consecutive values if their sum is much smaller (say 1/10th) of the individ... |
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... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.