instruction stringlengths 9 38.7k |
|---|
I hope you're doing well. I'm currently knee-deep in path analysis using the lavaan package for my research. My analysis involves moderation, and centering the variables may simplify coefficient interpretation and tackle multicollinearity; however, the model I am testing is a bit complex, and I do not know if centering... |
I have 4 A/B testing samples with 4 treatment groups and their 4 respective control groups (n=10000~), with known (but not distinct) treatment periods. The issue is that the treatment periods overlap frequently and if I were to remove all user_id where these overlaps occur it would considerably decrease the total numbe... |
So I conducted a framing experiment - 4000 people received either framing A or B, and donated $ to a charity if they wanted to.
Now I want to check if framing A or B had specific efffects on covariates of my sample (I did randomized stratification on these).Lets call these covariates cov1 and cov2
My first approach was... |
I am trying to test the significance of the total indirect effects of 3 variables and I am required to use multiple regression modelling (the mediators were unintended). While I found an equation from Preacher and Hayes (2008) (see image) and I am assuming that $s_{b_{1}b_{2}}$ means cov($b_{1}$,$b_{2}$) and so on. If ... |
I am reading this paper, which has the following paragraph -
"The gold standard for deep neural nets is to use the softmax operator to convert the continuous activations of the output layer to class probabilities. The eventual model can be interpreted as a multinomial distribution whose parameters, hence discrete class... |
When I use the Brier score loss, do I need to calibrate the model and then use the calibrated model's predictions as input into the Brier score loss?
If I just use a non-calibrated model's probabilities to compute the Brier score, is this approach sound or ok? The part of the article from Scikit-Learn that is not clear... |
I am interested in detecting outliers in a time series data, so I decided to use the tsoutliers library implemented in R.
The results that I got from this library were quite disappointing , in fact it seems that something went wrong with the algorithm because the outliers are concentrated in only one interval.
It see... |
I am trying to find reliable research work which show why displacement based metrics such as Wasserstein distance is a better suited metric than Jensen-Shannon distance in specific use cases and for certain set of distributions.
Are there any well known works which delve into this ?
|
I'm working with survey data that includes about 100 variables and about 3,500 respondents. Out of the 100 variables in the dataset, a lot of them had more than 5-10% missing data, and many were theoretically important
My problem was that entering each of those variables into a multiple regression model resulted in 30-... |
In the video from Khan academym Khan tried to prove that the variance of the binormial distirbution follow the formula
$$ D(x)=np(1-p)$$
However, I am a bit confused about what he said in the video. He proved it by showing: $D(nX)=nD(x)=np(1-p)$
But I am not sure about the first equation sign. If I am not mistaken, sho... |
I am currently analyzing rainfall data which is in longitude/latitude/value format i.e. a 2d matrix. That is, I have a series of values x,y,z such that x is the longitude, y is the latitude, and z is the value of the rainfall in mm at a certain time at that date. For example, a data point is 16.3738,48.2081,38 is the r... |
I used minitab to draw a normal distribution histogram and saw that the number of bins in that graph doesn't follow any rules to calculate bin size that I know of (sturge, square-root, rice, freedman-diaconis, etc) but the bin size minitab generated is quite clean.
So I would like to know the work behind it.
Thanks f... |
If random variables X,Y are independent is $P(X>k)*P(Y>z)=P(X>k,Y>z)$?
I know if X and Y are independent then $P(X=k)*P(Y=z)=P(X=k,Y=z)$
|
I use a ML model to rank prospects in terms of purchase probability to send marketing emails on a monthly basis. Most of the people in the population (for example, the entire U.S population) would not be interested in the product. So when I send 5 millions of Emails in one month, the conversion rate is low say 0.005%. ... |
The scenario is I have a binary outcome, a treatment group variable (3 groups) and 3 covariates. It is possible to exact match all 3 covariates on 1:N from group 1:2 and group 1:3. Would you perform the matching and run conditional LR (or Mcnemar's test?), or would you use all of the data and include the covariates in ... |
Consider $f_i(x) = \frac{1}{\sqrt{2\pi}\sigma_{i}}e^{-\frac{1}{2}\left(\frac{x-\mu_{i}}{\sigma_{i}}\right)^{2}},$ $i=1,2$. Define another density by $$f(x) \equiv wf_1(x)+(1-w)f_2(x).$$ Is $f(x)$ also a Normal density? i.e. is it true that $f(x) = \frac{1}{\sqrt{2\pi}\sigma}e^{-\frac{1}{2}\left(\frac{x-\mu}{\sigma}\rig... |
I have data from many recipes I made that describes how different ingredients subgroups grouped in different parent categories (sweet, sour, bitter, umami ) work together to ultimately lead to scores given to each recipe along the parent categories dimensions.
Ultimately, I want to understand how adding more ingredient... |
I am struggling to get to the general formula of the general linear process autocovariance.
If $Y_t = \mu + \sum_{k=0}^\infty \omega_k e_{t-k}$ where $e \sim WN(0,\sigma_e^2)$ (a.k.a. the general linear process), then what is $\gamma_k$?
I know we're working towards $\gamma_k = (\omega_0\omega_k + \omega_1 \omega_{k+1}... |
If a the Cohen's D of a study is 1.13, what would p = 0.003 and p = 0.05 Small, medium or large effect? I believe its a small effect but would like other thoughts and answers.
|
in univariate feature ranking for classification, it is common to use the χ²-test(MATLAB-sklearn) to calculate importance scores based on the negative log of the associated p-value:
$Importance = -\ln(p)$
Is it possible to define an importance value that is associated with p = 0.05 to exclude variables that had a p val... |
I get weird results when trying to analyze omitted variable bias in R.
If I try to analyze the bias for coefficient $\beta_j$ of variable $x_j$ in case of one omitted variable from set of two correlated variables, the limit bias should be given by:
$$
BIAS_{j,(lim)} = \beta_k \frac{COV \left[ x_j, x_k \right]}{VAR \lef... |
I work with landing data (kg or tons), which don't follow a normal distribution and are more often than not over-dispersed.
I'm trying to obtain a standardized index of abundance using GAM to model the landings as a function of year, month, and region and using the effort (number of vessels) as an offset. I'm currently... |
Let $X_1,\dots,X_n$ the data generated by the signal plus noise model having a change in mean at $\tau\in\Pi=[t_1,1-t_1],\;0<t_1<1$, which defined by:
$$\begin{cases} X_t=\rho_0+\varepsilon_t,\;t=1,\dots,\lfloor n\tau\rfloor\\X_t=\rho_0+\dfrac{1}{\sqrt{n}}\beta+\varepsilon_t,\;t=\lfloor n\tau\rfloor+1,\dots,n,\end{case... |
this is a topic that has been discussed in other posts, but there was never a direct answer to my question.
I have a dataset whereby my dependent variable is predicted by three categorical factors of two levels each. I am interested in a specific contrast, whereby for one of the levels of factor2, I want to see if ther... |
Motivating Question
I was asked by a colleague today why one would run a quantile regression on quantiles that are "extreme" (such as $.10$, $.90$, etc.), if there are too few observations in that quantile (say a total $n=200$ and the quantile contains some division of this number). This perplexed me, as this is the se... |
What are the standard methods for training machine learning algorithms on data, issued from multiple studies?
In conventional meta-analysis one usually uses weighted average to combine estimates obtained in separate studies,
$$
M=\frac{\sum_{i=1}^kW_iY_i}{\sum_{i=1}^kW_i},
$$
where the weights are determined by the num... |
I've never used GLM before so I would like to have some hints on how to use it and if I'm missing any steps.
My challenge:
I want to know if the price of product is influenced, positively or negatively by other variables that I can measure:
Production time of a machine that stays on to build the product during a day
H... |
I am working with the Poisson Bivariate Distribution and I need to generate random samples to apply in a Monte Carlo simulation, but so far I haven't found too much about it on the internet. I saw that Numpy can generate random samples for the standard Poisson Distribution ( np.random.poisson ), but not for the Bivaria... |
I am wondering what the best way to go about the following situation is. I will try to frame it in a clear way but please leave a comment if something can be clarified. I suspect this type of thing is a general problem encountered so I will strip away details of my specific application.
Suppose there is a quantity $C(x... |
I fit this mixed model with beta for the response variable: photochemical efficiency or Fv/Fm and the predictor variables are categorical:
Family: beta ( logit )
Formula: FvFm ~ hora * temperatura + (1 | Experimento)
Data: d
AIC BIC logLik deviance df.resid
-730.4 -711.2 371.2 -742.4 ... |
In Gaussian regression models, we model outcome as having some theoretical distribution which depends on the predictor values and can be described by the respective mean and standard deviation (sigma), where sigma is oftentimes described as a measurement error. Would not it make more sense to interpret sigma as sd of u... |
first read the scenario
A large insurance company is considering introducing a more complex procedure for processing claims. It is expected that the new processing procedure will increase claim processing times.
Before adopting the new approach, one company office decides to make duplicate copies of a random sample of ... |
I found Doordashe's article about conducting switchback experiments. In their article they use multi-level modeling instead of statistical criterions, which are usually used in A/B testing. They thoroughly describe the foundation behind the model, but unfortunately the do not explain how to gain p-value from this model... |
I have two sets of predictions. One prediction has an R2 = 0.57, the other R2 = 0.51 .
Plotting histograms of the predictions shows that the set with R2 = 0.51 looks more accurate as compared to the predictions with R2 = 0.57.
Also, the plot with the low R2 value captures the tails of the distribution.
Can we correlate... |
I'm looking at some survey data where the questions were on a Likert scale. For each question I get what percentage respond positive/neutral/negative. There are on the order of 30,000 survey respondents.
There are also some indices associated with the survey where a number of questions (usually 5) on a similar topic ... |
I don't know how to calculate the variance of a variable when all of its observations have an arbitrary correlation structure.
I am simulating the evolution of animals as they branch apart into different species and form
an evolutionary tree. Specifically, I am modelling the evolution of two (though I want to extend t... |
I have been reading and reading about causality for cross-sectional datasets (different variables including only ONE-YEAR information) and I am still confused...
CAN WE analyze causality in one-year data ? If so, how?
Could you share some scientific works in that case testing this?
Thank you !
|
For a research project, I need to assess the probability that a new batch is defective. I want to use a predictive posterior distribution for this purpose, as it incorporates uncertainty. A beta-binomial distribution seems most appropriate to me, given that I only have defect rates from previous batches. Can someone as... |
Here is my understanding of how dimension reduction in LDA works:
We have $n$ samples each with $p$ features assigned to $k$ classes.
We use the sample mean $\mu_j$ of each class and the pooled covariance matrix
$$
\Sigma = \frac{1}{n} \sum_1^n (x_i - \mu_{x_i})(x_i - \mu_{x_i})^\top
$$
as the parameters for $k$ multi... |
I recently conducted a simple time-series analysis on some data. In this time series, we observe two elements (red and blue) that affect the trend during alternating periods.
I want to measure how much better or worse one period type is from the other period type (A and B) by measuring the effect they have in the tren... |
I've been running the following code:
# Load the required library
library(simr)
# Set parameters for the simulation
n_clusters <- 24 # Number of clusters
n_per_cluster <- 10 # Number of observations per cluster
rho <- 0.8
# Intraclass correlation coefficient (moderate clustering)
sigma ... |
I am doing a SIMPER analysis (in R) with the values relating to individuals contacted in different reproductive seasons to see how the surveyed bird community has changed, and which species contribute most to this dissimilarity. I find everything clear, except the p-values. Do the resulting values of the various "p... |
Preparation
Using R-Libraries: library(dplyr)
The situation
Data
Given the data
my_data <- mtcars |>
mutate(vs = factor(vs,
levels = c(0, 1),
labels = c('V-shaped', 'straight'))) |>
select(mpg, hp, vs)
which results in
> my_data
mpg hp vs
Mazda RX4... |
This might be a silly question, but I have always found this confusing. In a case-control study one selects participants to the study based on having or not having the outcome, in addition to some set of matching factors. Matching on its own does not eliminate confounding by the matched factors, and in fact can induce ... |
I am interested in how a biological manipulation changes the behaviour of an animal species.
Here the variable $Y$ represents the measure of the behavioural trait I am interested in. I have 12 animals in each treatment level (control & manipulated). The value of $Y$ for each animal is measured multiple times at differe... |
I have uniformly sampled datasets from two acquisition circuits: an old model which has become difficult (and expensive) to procure parts to continue manufacturing, and a new version using modern microelectronics. Paired datasets have been produced by measuring the same phenomenon using the same transducers and swappi... |
I have two output tensors whose MSE is really small (0.04) but on checking the distribution of the tensors they are very different.
I am using:
torch.nn.MSE(output_tensor, input_tensor) = 0.04
I am just wondering how can this happen?
Edit 1: Here the tensors are the learned representations of words in sentences. So... |
While plotting a box plot, the plot is showing the columns in the dataset has outliers, but while trying to calculate it by IQR formula, it is showing there are 0 outliers in the columns of the dataset, why is it showing this? How to find the outliers that the boxplot is showing?
|
My first outcome is a bounded count (range = 0-5, not zero-inflated, not overdispersed), so I specified a model using a successes-failures matrix and a binomial distribution:
library(emmeans)
library(glmmTMB)
mod1 <- glmmTMB(cbind(out1, 5-out1) ~ 1 + poly(SurveyYr, 2) + coVar1 + coVar2 +
(1 + poly(SurveyYr, 2)| orgI... |
Given a sequence of trials, where each trial is rolling two dice, each trial's outcome is the absolute difference between the values on the die. What is the probability that the outcome of 2 occurs before the outcome of 3?
My solution:
There are 8 combinations with a difference of two {(1,3), (2,4), (3,5), (4,6), (3,1)... |
I would like to determine how consistent teacher grades are for a given item, both for that teacher and across all teachers. E.g., does teacher A consistently score item 1 as a 1,2,3, or 4; and do all teachers generally score that item the in a similar manner. I can use the items difficulty (based on additional informa... |
If we use the below formulation of elastic-net penalisation:
$$\beta^{EN} = {\rm argmin} \left( \lVert X-X\beta \rVert_2 +\lambda ( \alpha \lVert x \rVert_1 +(1-\alpha)\lVert x \rVert_2\right)$$
I could imagine that instead of doing the above, we first apply a lasso solve to select a subset of regressors & then apply r... |
I am working on a problem related to travel distances of people. I will use leisure trips (this includes day trips or multi-day trips) as an analogy. Focusing purely on the one-way travel distance, the further away the person has to travel to reach the destination, the more likely to require accommodation and stay over... |
If I have several correlated variables in my dataset which I would like to include as predictors in my model. For example with this simulated dataset:
library(MASS)
mu <- c(6.10, 2.33, 1.11, 3.0)
sdv <- c(0.34, 1.11, 1.33, 0.34)
corMat <- matrix(c(1, 0.91, 0.80, 0.79,
0.91, 1, 0.81, 0.77,
... |
I was involved in bench testing for a medical device from 2 companies. How much one end of the device can rotate (0 to 180 deg) translates to rotation at the opposite end (0 to 180 deg) was measured. On a table it would look like:
Input angle: 0, 45, 90, 135, 180
Output angle: 0, 40, 88, 132, 178
This is repeated for 1... |
I am planning a staggered difference-in-differences analysis examining the impact of a change in health policy at the county level. The policy was implemented at different times in different counties, and in many counties not at all. I have data for all counties in the country, with only a small fraction having ever im... |
I have a discrete random variable f(phi) with known probabilities for each n outcomes. Phi represents the random variables m parameters. Each parameter is its own independent discrete random variable with known probabilities for each outcome. Would it be possible to construct a distribution for f(phi) based on the valu... |
I'm poor with epidemiological methodology and I'm working on a study that look at the effects of a binary exposure on three time-to-event outcomes in a large cohort (general population). As the outcome being rare (seems to be a nested case-control or retrospective study), could it be possible (or plausible) to extract ... |
I am interested in detecting outliers (contextual outliers, global outliers) in a 2-dimensional time series data, so I decided to use the tsoutliers library implemented in R, Holt method (I could not use Holt-Winter because the period is not fixed) and DBSCAN. Holt method and tsoutliers were applied separately to each ... |
If we have outcome variable as measurements with associated SD as form of measurement uncertainty and we want to incorporate the uncertainty information in linear regression model, what is the proper way in doing so? One approach to dealing with similar situations is weighted least squares, which can account for non-ho... |
I use Gaussian mixture model (GMM) to infer probability density of multidimensional data written as:
$p(x) = \sum_{j=1}^{K}\pi_j*N(x|\bf \mu_j, \Sigma_j)$, where $K$ is a number of mixtures, $\pi_j$ are their mixing coefficients and $\bf \mu_j, \Sigma_j$ are corresponding mean vectors and covariance matrices. These par... |
I am just now familiarising myself with the literature on Fixed Effect Models. I was wondering if anyone had any references or could confirm that fixed effect models can be used in a latent variable framework.
I have a straightforward model with approximately 2000 individuals nested in 8 groups. I am primarily interest... |
I would like to ask. I gave to students an example where they test :
$H_0: \pi=0.65$
$Ha: \pi>0.65$
$\hat{p}= 0.76$
$n=50$
Students have to calculate NHST and also confidence interval for proportion.
$Z=\frac{\hat{p}-\pi}{\sqrt{\frac{\pi (1-\pi)}{n}}}$
$Z=1.6307$
$Z_{crit}=Z_{0.95}=1.64$
As can be seen from these calcu... |
My task is: given an image and set of points of interest, elastically and randomly deform the image and save it with the modified aforementioned points.
example: (blue points are the points of interest: POIs)
with coordinates:
points = np.array([
[442, 131],
[438, 124],
[438, 136],
[431, 118],
[432... |
What method would be employed to calculate the correlation between two space-time series?
For example, dataset 1 = a set of space-time points relating to cases of disease 1 and dataset 2 = a set of space-time points relating to cases of disease 2.
How can the correlation between theses two spatio-temporal series be ass... |
I want to check whether a training program made an improvement on knowledge level on participants.
I applied a test before and after the training to the same people (this means I have 2-samples, paired, right?).
Data distribution is not normal so I used Wilcoxon test (SPSS)
Null hypothesis can be rejected but my quest... |
This post answers a question from the Recursive Partitioning for Heterogeneous Causal Effects paper by Athey and Imbens.
However, I am blocked at an even earlier stage from the previous post. I don't understand how they derive the second equality in the attached formula, p7 from the arXiv paper.
I have some E(-2 * Y_i*... |
I have a very basic question about MA(1) time-series processes, that I haven't found an answer for yet. I am trying to understand the intuition behind the typical exponential decay we see in the PACF of an MA(1) process.
It is clear why the ACF drops off after lag 1 ($Y_t$ and $Y_{t-2}$ are not correlated as the error ... |
Can anyone familiar with nlme kindly explain how does the varIdent, with option fixed actually work?
Documentation says:
fixed....an optional numeric vector, or list of numeric values, specifying the values at which some or all of the coefficients in the variance function should be fixed.
What is coefficient in varia... |
I'm quite new to R and I am trying to do some stats. I have a set of data and want to work out whether my data comes from a normal distribution. I was told to do the test on the residuals of my data, but can't remember if shapiro.test() automatically works out and uses residuals of your data or if you have to do that y... |
Assume $n*p$ data matrix $X$, where n is the number of observations and p is the number of features. We are interested in the covariance among features.
I have seen notations where covariance matrix is $X^{T}X$, $\frac{X^{T}X}{n-1}$, or $\frac{X^{T}X}{n}$. And apparently this also depends on whether the data is demeane... |
As per the title, I would like to know what are currently the major issues and controversies in clinical trials design and analysis.
|
I have binary classifications made by some model, and I know the truth. From this, I can calculate the confusion matrix and all associated values: true positive rate, true negative rate, false positive rate, false negative rate, sensitivity, specificity, precision, recall, positive predictive value, negative predictive... |
Most household surveys have age-eligibility thresholds. The HRS interviews individuals aged 51 and older, plus their spouse (if any) using PPS sampling.
Do I need to drop individuals who are younger than 51 (the spouses) for the study to be representative of the older population? How should I treat these cases?
Most of... |
probably a basic question here!
I am a scientist. I'm planning an experiment with cells in a dish. The cells are cheap. I can afford n = 8 biological replicates (individual wells in a multiwell plate, each containing some number of cells.)
However, the chemical test I want to do on the cells is expensive to run. I want... |
I'm getting confused with the results of experimental data with two groups and three measurements. Imagine a mixed-model in lme4, where I am interested in the effect of the interaction group*measurement. My model is a random-intercept model comparable to model1 <- lme(outcome ~ group + measurement + group:measurement +... |
I am trying to run a lmer model on my dataset.
My dataset :
str(tabfi)
'data.frame': 240 obs. of 9 variables:
$ Mix : Factor w/ 3 levels "B","C","S": 1 1 1 1 1 1 1 1 1 1 ...
$ Origin : Factor w/ 2 levels "L","NL": 1 1 1 1 1 1 1 1 1 1 ...
$ Bloc : Factor w/ 2 levels "GS","PS": 1 1 1 1 1 2 2 2 2 2 ...
$ Rep ... |
I have a dataset of patients with multiple parameters recorded, such as glucose, diabetes, O2 concentration, etc. I want to check whether glucose levels are in any way associated with other parameters. All variables in the data set are either continuous or binary.
So far I have checked correlations of glucose with othe... |
I have a scatterplot displaying one data set that, at first glance, has a weak negative correlation. Upon further inspection, however, it appears that the data set shows two stronger linear trends that seem to separate after a certain threshold. Is it possible for a single dataset to display multiple trends? I assume i... |
I would like to use the Genetic Algorithm (GA) R-package for optimizing a land surface model. I need to be able to interrupt and restart the optimization at any given time because of node failures. In theory, this could be done by storing the GA output after each model run and reading the same output as an input for ea... |
In Intro to Statistical Regression (Python) on page 88 "RSE can increased when newspaper is added to the model given that RSS must decrease." Newspaper is just another predictor.
The text says that if the RSS decreases in a relatively small amount compared to the increase of the number of predictors. I can't think of a... |
I am considering using Lasso regression in combination with variable's correlation to target variable to rank features. Initially, I rank the important variables using Lasso regression. Subsequently, I use correlation as a secondary criterion to rank these variables. I'm uncertain whether it's necessary to verify Lasso... |
I am comparing the performance of two different network architectures to solve the binary classification problem of IMBD movie reviews, presented in Chapter 3 of "Deep Learning With Python".
Loading the data:
# num_words means only use most common `n` words in the vocab
(train_data,train_labels),(test_data,test_labels)... |
Assume a normal linear model for y with two continuous predictors $x_1,x_2$ and no intercept: $y_i=\beta_1x_{i1} +\beta_2x_{i2}+\varepsilon_i, i= 1,...,n $ You performe a corresponding linear regression on a dataset with n= 20 observations.The estimated parameters were $\hat \beta_1=−10.5$ and $\hat \beta_2= 2.0$, th... |
I understand that an assumption of Poisson regression is a linear relationship between the transformed expected response in terms of the link function and the explanatory variables. Therefore you would only include variables with a linear relationship in the model.
If I wanted to look at the relationship between differ... |
After creating the plot using:
plot(Mother_weight_mg~Clutch_size, pch=21, bg=c("Lightblue","orange"),las=1,xlab="Clutch Size",ylab="Mother Weight")
abline(lm(Mother_weight_mg~Clutch_size)[which(History=="Fresh carcass")],col="lightblue",lwd=5)
abline(lm(Mother_weight_mg~Clutch_size)[which(History=="Old carcass")],col="... |
I have multiple groups of measurements, each containing three sets of complex numbers (impedances of the same thing measured under three conditions). The Nyquist plots belows shows two of such groups.
As can be seen in the Nyquist plots, there is a larger dispersion between the top group then the bottom. I'm looking to... |
Apologies if this is a basic question. Let's say I have a dynamical process $x_{n+1}=Ax_n+\varepsilon_n,$ where $A$ is an $m\times m$ matrix and $\varepsilon_n=(\varepsilon_{1,n},\varepsilon_{2,n},\ldots,\varepsilon_{m,n})$ with $\varepsilon_{i,n}\sim N(\mu_i,\sigma_i)$ for each $n$ and $1\leq i\leq m$. Here both $\mu_... |
Let's say I conduct a survey where people can mention their favorite
color among four options (red, green, blue, yellow).
After collecting the data, I create a contingency table crossing
gender with favorite color, and I end up with the following table (this is completely made up data, my upcoming question is not about... |
I would like advice on correctly interpreting the covariates for a hidden markov model I have run, using Depmixs4. I'm really struggling to find any examples at all that actually interpret covariates.
For example, in my responses I have an output of:
Model of type gaussian (identity), formula: sqrt(asc_dist) ~ CCL + Te... |
Several sources suggest that when estimating a model using the simulated method of moments (SMM), one ought to always be able to get the difference between the empirical and simulated moments to be 0 on average when the number of moments (P) and the number of parameters (D) are equal. In my experience, I have found thi... |
Observations can be nested/embedded within cross-sections or cross-sectional units that are measured. For instance, populations are distributed across regions. There are various methods for dealing with that.
But how are cross-sectional units defined?
Are they fixed?
Must all observations be nested within them? (or m... |
I would like to analyze my data with a linear regression:
t*k = x
x is my measurement with some error
t is time
I want to fit k as best as I can with the best estimate of the standard error for k possible.
Question: For a fixed N, is it better (in terms of quality of fit and minimization of the standard error) to samp... |
I am following several guides on the simulated method of moments (SMM) and one practical way of getting the weighting matrix, W, is to bootstrap the empirical moments and invert their covariance matrix. My issue is that the elements of this matrix are very large (because the variances of the moments, and the moments th... |
I need to identify golf swings in a set of time-series motion capture data. The following illustrates the captured Y-values (in video pixels) of a person's left hand over a period of about 10 seconds, with segments annotated:
EDIT: To be more clear, I only care about segmenting the actual swing from all other motion. T... |
I would like to train a model end-to-end that uses the output from an xgboost model as an input. I've successfully implemented full-batch gradient descent into my pipeline with jax, following this guide: JAX vs PyTorch: Automatic Differentiation for XGBoost. However, I am training the rest of my model with stochastic g... |
I have a question about Maximum Likelihood values, and how to interpret them.
In order to explain the question, please see the Figure below. I will add explanation for how this figure has been created at the end of this question.
From the figure it can be see that the value obtained from the Maximum Likelihood Estimati... |
Is it theoretically possible to fit a Gaussian model if we already know variance, that is, variance of outcome is not inferred but is known a priori and is defined for every measurement of outcome variable (it is inhomogenous).
If it is theoretically possible, is there any implementation in R? In other words, can we h... |
Is it enough to prove that the Kernel matrix is positive semidefinite to know that the function is a kernel? Or is it also necessary to prove that the matrix is symmetric?
|
I have the following model:
$
X = \alpha_1 + aZ + \epsilon_1 \\
Y = \alpha_2 + bZ + cX + \epsilon_2
$
Suppose that $Z$ is randomly assigned but $X$ is correlated with the error term $\epsilon_2$, in particular because $Cov(\epsilon_1, \epsilon_2) \neq 0$.
So $X$ suffers from omitted variable bias and regressing $Y$ on ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.