instruction stringlengths 9 38.7k |
|---|
I'm conducting an analysis on several hundred thousand individuals to understand if there are longitudinal differences in an outcome across clusters of the individuals. My outcome is healthcare cost (measured longitudinally) and clusters are groups of individuals with similar longitudinal trajectories of weight. Here's... |
I am doing a bioinformatics analysis, where I am scoring every protein-coding gene in the human genome (~19,000) for some genomic property ("interestingness"), then plotting the distribution of scores from lowest to highest. I am then marking, within this distribution, the position of specific subsets of genes - in the... |
I have run a binomial (logit) regression on some proportion data as the dependent variable in an Interrupted Time Seies Analysis [see below]:
rrfit2a <- glm(`Subject Refused Ratio` ~ Quarter + int2 +
time_since_intervention2 , df,
family = "binomial"(link='logit'))
Summary outcome:
Ca... |
There are a number of posts on Cross Validated explaining the difference between nested and crossed random-effects. In this example, it is noted that all feasible random effects categories are linked to all other random effects categories, i.e. "all participants perform all tasks."
In this example, the same is noted: "... |
I have a dataset of bird foraging rates. I am interested in how two independent variables, SEASON and HABITAT, (both of which have two options: breeding/non-breeding, and urban/rural) respectively affect the rate of foraging (a continuous variable- attempts/hour). I originally considered two-way ANOVA for the test, in ... |
I'm working with (un-paired/independent) historic environmental data collected over 2 consecutive months that I compared for each calendar year (CYR). I'm wondering if the high variability between February and March is due to small-ish sample sizes, so as a thought experiment, I'd like to know what sample size I would ... |
I have 60 continuous features (i.e., lab results) for 35,000 patients, and the patients are divided into three groups. I want to evaluate each feature to find out what the differences are between the groups.
Here is my plan:
For each feature, iteratively run a one-way ANOVA independently.
After 60 ANOVA are run, corre... |
Firstly, I would like to ask you opinion about my model: I have a logistic regression model where the dependent variable is late payments (1=late/0=not late) and diesel prices and interest rates as the independent variables. I have checked for the VIF factor which less than 2 for each feature. These give p-values 0.000... |
I have a dataset that contains ten different treatments (a1, a2, a3 etc.) applied to a substrate and the effect of that treatment is measured at six separate time points(1-6). There are four samples of substrate that are measured for each treatment at each time point.
Something like:
Treatment
Time
Metric
a1.
1... |
I am seeing these two options to process mini-imagenet images during training:
Option 1 torchmeta:
from torchmeta.datasets.helpers import miniimagenet
normalize = transforms.Normalize(mean=[0.485, 0.456, 0.406], std=[0.229, 0.224, 0.225])
data_augmentation_transforms = transforms.Compose([
transforms.R... |
I was seeing this:
def get_remaining_transforms_omniglot(dataset: MetaDataset, ways: int, shots: int) -> list[TaskTransform]:
"""
Q: todo, what does RandomClassRotation do? https://github.com/learnables/learn2learn/issues/372
"""
import learn2learn as l2l
remaining_task_transforms = [
l2l.d... |
So I did some data exploratory and found that the range of my features are variable, like some columns have range between 1 to 5, while other columns like 'square_feet' has range of 500 to 2000. In the pre-processing, I was planning to normalize the columns, so I have decided this approach where I only normalize the co... |
I am using Logistic regression and when I use this model on my validation dataset, I get an AUC ROC of about 0.65 but my Average Precision score is 0.69. How can this be possible? What does it mean?
|
The problem is to determine whether a patient referred to the clinic is hypothyroid. Therefore three classes are built: normal (not hypothyroid), hyperfunction and subnormal functioning. Because 92 percent of the patients are not hyperthyroid a good classifier must be significant better than 92%.
This is for some dat... |
According to Wikipedia, the Fisk distribution has two parameters, scale $\alpha$, and shape $\beta$. However, SciPy has only c as the shape parameter.
If I am given $\alpha$ and $\beta$, how do I use them in SciPy?
I want to create a Fisk variable and then sample with fisk.rvs(size=n).
|
Say I have a random variable, and its mean or variance is changing over time, how do I detect this, given back-data? One idea is just to look at the recent values vs the less recent values and detect changes that way? Is there a standardized way to do this? A name for the method?
|
I think this is a really basic question but would appreciate some help. I have a set of data week-by-week, with a continuous variable - the numbers of times a keyword was mentioned in the media each week. There are some weeks in the middle that are higher, and I want to see if these are significantly higher. I can't fi... |
I have data about performance on two types of judgment task (for people), each type with a different format of ground truth for the targets (also people). All judges evaluated all targets, there were 24 targets per task, so 48 different targets in total.
For the first task, the judgment could range from 0 to 100 and t... |
From my understanding, Ridge regression tends to shrink coefficients towards 0 as lambda increases. However, it seems this is not always the case - for features which are more statistically significant, Ridge Regression can increase their coefficient as lambda increases. Why is this? And how does the Ridge penalty caus... |
I am working on data with psychosocial scales in Stata. There are five measures of psychosocial ability used in the data, with between 4 to 9 items for each. All the items are measured on 4-pt Likert scales. For some of the items, entries for extreme values on the Likert scale are missing. Eg. Agency scale - Item no. 2... |
Does $A \perp\!\!\!\!\!\!\perp B | B$ always hold?
Part of me is like yes: if we know the value of $B$, then more information about $B$ can't tell us anything about $A$, and vice versa.
Consider this causal diagram. Suppose we have conditioned on $B$. Then $A$ and $C$ are independent. So, intuitively I'm like of course... |
While searching around, I found this question
Expected value of a natural logarithm
dealing with the expected value of the natural log.
The top answer references a paper that approximates the expected value of the natural logarithm of x using a second order Taylor expansion around the mean.
What about if I'm interested... |
I'm taking a course in R: "Data Analysis in R" on Coursera, and I came across this question during the lecture:
A retail store considering updates to their credit card policies randomly samples 1000 of their credit card holders to survey on the phone. The phone calls are made during business hours, therefore there is a... |
Suppose I have a random variable:
\begin{equation}
X \sim
\begin{cases}
1 \text{ with probability } p \\
y \sim \mathit{unif}(1,k) \text{ with probability } 1 - p
\end{cases}
\end{equation}
Where $\mathit{unif}$ is the discrete uniform distribution. I am trying to compute the expected value $E[X].$ I think it should ju... |
I know that if we cannot afford to have false positive results, we should aim for high precision.
My question is, how is precision different from specificity?
Any examples?
|
Let $R=X\mathcal{I}(X>0)$, where $\mathcal{I}$ is the indicator function and $x \sim N(\mu,\sigma).$
Thus,
\begin{align}
\mathbb{E}[R]&=\mathbb{E}[X\mathcal{I}(X>0)] = \int_{-\infty}^\infty x \mathcal{I}(x>0) \phi(x;\mu,\sigma)dx \\ &= \int_0^\infty x \phi(x;\mu,\sigma)dx = \int_0^\infty x \frac{1}{\sqrt{2\pi}} \frac{1... |
I am trying to build a classification xgboost model at work, and I'm facing overfitting issue that I have never seen before.
My training sample size is 320,000 X 718 and testing sample is 80,000 X 78 (after doing 80-20 split)
Features are a mix of continuous and one-hot encoded variables
Event vs Non-Event is 50%-50% ... |
I am reading more about flexible parametric survival models and their implementation in the flexsurvspline function in the flexsurv package in R (there also seems to be a very similar command in Stata - stpm2)
I have a Cox model with several predictors that violate proportional hazards. I have tried transformations, ti... |
When computing the Pseudo R-squared value in quantreg in R or statsmodel in Python, what is an acceptable range to justify goodness of fit? Also, what is the functional form of Pseudo R-Squared computed in those packages?
|
I’m aiming to impute data on Likert-Scale item level for a nested dataset using the MICE package.
The data is nested in the sense that participants (>2000) belong to different clusters (around 100 of them). Due to the length of the original questionnaire, a design choice was made to only display a maximum number of the... |
I am trying to understand the different metrics for assessing feature importance in a random forest regression, I'm working in R so I use packages available there.
I am confused among different metrics so I don't really know which one I should use.
Original random forest algorithm in R based on L. Breiman 2001 paper ... |
I have run a Gamma model where I try to predict the bioturbation potential by some sediment predictors. We sampled multiple stations over 10 years. Therefore I included station and year as random factors and added an autocorrelation term.
model <- glmmTMB(BPc ~ mudfraction + medsand + X250.500um + shellfraction + (1|St... |
In the cLDA (constrained longitudinal analysis) analysis the baseline value is already taken as a response, so it doesn't have to be included on the right side of the model.
But in MMRM ANCOVA (mixed-model for repeated measures; not a mixed model - it's just generalized least square) it's common to adjust the values (e... |
I have two logistic regression models, model 1 and model 2. I want to find out which model is better. I'm predicting the default rate. I have compared the two models using Gini, plotted gini on month to month basis.
But I want a business metric which can help me show a monetary benefit that model 2 can give over model ... |
I am training a GAN in which I am optimizing or reducing the loss of the generator and the discriminator simultaneously. However, the images generated are very noisy. What could be the hidden reason? Why the simultaneous optimization of the loss functions does not ensure good images in GAN? Generally GANs are trained b... |
I am wondering if there is a relationship between the performance quality of a predictive model (e.g., a classifier) and the reliability of corresponding feature importance values?
To give an example: I created two binary classifiers using two different sets of features. One classifier performs slightly better than the... |
So it turns out I have misunderstood what k-fold CV actually does. I had originally thought that (e.g.) 5-fold CV splits the whole dataset into 5 subsets, then on each iteration the model is trained with 4 and tested with the held-out subset.
But various documentation (https://scikit-learn.org/stable/modules/cross_vali... |
Given $X1,\dotsc,Xn \sim \mathcal{Geo}(p)$ , and I need to find the MLE and the CI for the MLE.
I found the MLE for this distribution, using the maximum likelihood function: $L(p;X) = (1-p)^(Xi-1) * p$
I took the $log$ of $L(p;X)$ and then the derivative of it, and found that $\hat{p} = 1/\bar{X}$.
Now, what should I ... |
I am trying to use Support Vector Regression on a (neurophysiological) dataset where the position of points on a circular manifold in N dimensions is correlated with a circular variable (phase of an oscillation of a separate system).
Before starting, I am trying to solve this on a dummy dataset. I have dots from a circ... |
I am searching for intermediate/advanced online courses in statistics/econometrics that employ python. Exploring the main platforms (i.e. Coursera, Edx, etc..) I found either very basic courses that use python or more intermediate/advanced courses that use R. Anyone here aware of where I could look for this?
|
From the book Applied Multivariate Statistical Analysis by Johnson and Wichern, the following covariance matrix is written as an orthogonal model.
$$\bf \Sigma = L{L^\top} + \mathbf \Psi $$
$$\left[ {\begin{array}{*{20}{c}}{19}&{30}&2&{12}\\{30}&{57}&5&{23}\\2&5&{38}&{47}\\{12}&{23}&{47}&{68}\end{array}} \right] = \le... |
I have trained a CNN based pose estimation network that outputs segmentation masks and keypoints. I have used Adam optimizer, 1e-4 learning rate and cyclical learning rate scheduler. As shown on figure, on 40th epoch there is a extreme spike and then there occurs a steady state loss for all epochs. What could have caus... |
I am trying to find the best fitting function in case of logistic regression using R.
regr_A<-glm( cbind(X$M, X$N-X$M)~...., data=mydata, family="binomial"
I want to have the best "composition" of only three regressors
for example like
regr_A<-glm( cbind(X$M, X$N-X$M)~exp(v1^2)+sin(v2)+v3^8, data=mydata, family="binom... |
Cross-validation with metrics such as F1 can be implemented in two ways:
For each cross-validation split, calculate F1_split on the validation dataset.
F1_result = average_by_splits(F1_split)
For each cross-validaton split, calculate confusion_matrix_split on the validation dataset.
confusion_matrix_result = sum_over... |
I was looking for an equivalent for Stata's command lincom in R. I tried the comparisons() function from marginaleffects package. However, I get different confidence interval than the one from lincom in stata
library(tidyverse)
library(marginaleffects)
library(haven)
faculty <- read_dta("https://www.stata-press.com/da... |
I have been into discussion about the usefulness of applied PCA before Logistic Regression for some classification task, the claim is as follow:
In some cases, Applying PCA and Logistic Regression together leads to almost the same separating hyperplane as just Logistic Regression alone (PCA + LR ∼ LR ). In such cases t... |
I don't have a statistical background, so a lot of this stuff confuses me (sorry if this is a bad question).
But, I am trying to construct a few Probit regression models in R on a dataset that consists of only categorical variables. All my dependent and independent variables are categorical.
I have already identified ... |
I am working with a time series data (date column and a value column) and I have extracted date features(weekday, weekend etc) and rolling means or the prediction.
For features to be given equal importance, I used min-max scaling i.e., all integer features are converted to range (0,1). My question is Do I also need to ... |
Let f be a mean 0 variance 1 density. Let $g(x) = f\{ (x - \mu) / \sigma \} / \sigma$. What is the mean and variance associated with g?
|
I have been reading posts on this forum about how to assess LCA models. One question asked about BIC statistics to assess model fit. The answer said that you shouldn't really worry about the absolute value of any single BIC statistic; the BIC only matters relative to other models. Some seem to argue that you can get di... |
is it totally meaningless or impossible to do factor analysis between two measures with different age ranges? For example, I want to test if two personality measures are testing the same underlying broader construct (like latent factors...), but the two measures are tested in different ages of the same group of people ... |
I am unclear about deriving both hazard ratios and a predicted cumulative incidence curves under competing risks. After reading this interesting article:
https://statisticalhorizons.com/for-causal-analysis-of-competing-risks/
I was under the impression that the most approriate way to estimate hazard ratios (for effect ... |
Let's say I was conducting an experiment with 4 factors.
Three of them have qualitative settings, so I can simply designate one as +1 and one as -1. But one of the factors is numeric, and I would like to investigate three levels. If the other three were numeric as well I could treat this as a 2^4 with center points, b... |
If we run the Metropolis-Hastings algorithm for a target distribution $\mu$ with proposals from a quasi-Monte Carlo sequence $(y_n)_{n\in\mathbb N}$ (such as a Sobol sequence) and the generated chain is denoted by $(X_n)_{n\in\mathbb N_0}$, will $$\frac1n\sum_{i=0}^{n-1}f(X_i)\xrightarrow{n\to\infty}\int f\:{\rm d}\mu\... |
I learned that you can use random effects as a way to induce correlation in regression models. Say, we measure cholesterol over a 12 week period. The random effect "tells" the regression model that the data isn't independent: person's response in week 1 should be correlated to their response in week 2 and so on. Of cou... |
I'd like to combine Bayesian and non-parametric (e.g. XGBoost) models, with the goal of getting a probability distribution over my target variable rather than a point estimate. I have a prior, and I have some non-parametric models that produce reasonable results. My best guess is something like fit a simple Bayesian re... |
I am currently trying to look at how the likelihood of reaching a particular insect life-stage (in this example 1st instar) is influenced by both temperature (factor: 5 levels - 20, 23, 26, 29, 32 degrees Celsius) and species (factor: 2 levels - HA and AP) using a logistic regression model as below:
eggmodelA <- glm(cb... |
I have a model (a neural network) which produces estimates for the parameters of latent random variables (e.g. the $\lambda$ param for an exponential distribution).
I don't observe the r.v. directly, but the result of another process which acts on pairs of variables. I then compute the MLE and do usual SGD.
Let's assum... |
I'm working on the insurance dataset with R, and I'm trying to do a lm with charges as the target.
I did the following:
Removed the severe outliers (3*IQR)
Removed the multivariate outliers with Moutliers using chemometrics
Checked the boxcox lambda value and transformed the target with log
Applied boxTidwell for chil... |
I am looking at modeling a categorical response that has multiple measurements per "product" using a classification tree. Each product can have up to three measurements in the dataset, essentially one per each team that measured it with some products not being available to some teams. Because not all observations are t... |
Can we say that the assumption for linearity is met? I'm confused because the tails are heavy, and deviations have a bow-shaped pattern. Still, I think that the linearity has met because the majority of the points fall along the line. I have a large-sized dataset of 13k entries. My data is: enter link description her... |
I'm performing analysis on the data found in the NHANES package in R.
One of the vectors describes the estimated number of days that participants drank alcoholic beverages.
I want to classify them as Alcohol_Disorder/No_Acohol_Disorder.
The 95% confidence interval is (65.30, 72.36).
I feel compelled to subtract each n... |
I used Xgboost AFT model to predict survival time but get some infinity predictions. Is it normal? How should I interpret that?
I changed aft_loss_distribution from 'normal' to 'logistic', then had inf predictions
|
What's the difference between a lurking variable and a confounding variable?
From what I read, both lurking & confounding variables masks the true relationship between a pair of variable, but it is unclear to me how they differ?
I read in a few places that confounding variables are "considered in the study" while lurki... |
I am creating a model in R Studio for NCAA football games and am encountering values that seem lower than they should be. Here is my function and returned R-squared value.
lm(formula = rushing_yards ~ yards_per_rush_attempt, data = games.box)
This is the end of the model summary:
Multiple R-squared: 0.778, Adjuste... |
I am trying to create ratings/skill scores using ranking systems like Elo, TrueSkill, and OpenSkill. All of these systems are similar in that they have a distribution that represents players' skill and that the update after a match is dependent only on the parameters of the distribution.
Are there similar methods that ... |
How can I find the expected value and median of $X\sim \chi^2$ with degrees of freedom of $12\,$? The information I get from every other source, I find, is confusing. I am using R.
|
I have a trained logistic regression model with 5 input variables. Then I added another new input variable and used all of them (6 input variables) to train a new logistic regression model. With the obtained coefficients, I got two values based on the logistic function when the inputs are given.
Next, I set the new var... |
The question given is:
When performing a test regarding the population mean, $\mu$, we decide not to reject $H_0$ when $\bar{X} > 3.$ It is known that $n = 50.$ If the true value for $\mu$ is $\mu = 3,$ what is (approx) probability of Type 2 error.
The answer to the question is 0.5.
My working goes as follows:
$H_0: ... |
Can I calculate the t-value of some population, if I only know the mean and standard deviation of the data and not the actual data itself. If not, what are the values I should know to calculate the t-value of the data?
|
Suppose $L(\theta;X)$ denotes the likelihood of a model where $\theta$ is the parameter and $X$ is the data. $L(\theta;X)$ doesn't have a closed-form solution for MLE. I use a numerical procedure to obtain an estimate $\hat{\theta}$. Then how can I obtain the asymptotics of $\hat{\theta}$?
I am unaware of this area so ... |
I have two time series measurement of protein "activation" under two different conditions, (A) and (B). My end goal is to fit a model and use the model parameter that best describes the rate of "activation".
The data looks similar to panel D below: (Reference)
Question 1. Is there a model that best describes the data ... |
We have $X$ and $Y$ as independent discrete random variables both in ${1, 2, ...}$.
Their pmf's are:
$f(x|\alpha)=P(X=x)=\alpha(1-\alpha)^{x-1}, x=1, 2, ...$
$f(y|\beta)=P(Y=y)=-\frac{1}{\log\beta}\frac{(1-\beta)^{y}}{y}, y=1, 2, ...$
$\alpha, \beta \in (0, 1)$
Given that $\frac{1-\alpha}{1-\beta}=\frac{1}{2}$ --- (*),... |
I know that marginal normals do not imply joint normal, as some examples in here gives. However, but I don't know of any theorems that talk about conditions under which marginal normals can imply normals. The solution in here is not satisfying (they only give a necessary condition).
In summary, I have two questions
Su... |
I have a set of 32 intercorrelated variables and a target. I hypothesised that these variables would linearly and positively contributed to the target, and hence a non-negative linear regression model is adopted. However, I would like to investigate on the relative importance of variables, instead of the correlation co... |
Consider a panel with data $(y_{i,t})$ for $i\in\{1,...,N\}$ and $t\in\{1,...,T\}$.
Problem: I want to know how the cross-sectional average of $y$ behaves in an average time period.
My approach:
For each $t$, I calculate the cross-sectional average of $y_{i,t}$: $\bar{y}_t=\frac{1}{N}\sum\limits_i y_{i,t}$.
I take th... |
I was watching cross entropy video from StatQuest. While explaining why to use cross entropy over SSE in multi output scenario with softmax output activation, Josh gives this graph of both losses:
He the says that loss is very high for CE than MSE.
But I am not able to get how he got that orange straight line. I tried... |
As part of my thesis, I'm currently doing an event study. In one class, we got the formulas below for the t-statistic which I've used in my paper. Stupidly, I've trusted the reference to MacKinlay (1997) in the documents (actually from my co-supervisor). While proofreading and checking references, I just realized that ... |
I have the following data for two different sampling points:
proteins from three different drought intensities (control, moderate and severe), and also using two diferent treatments (sterilized and non sterilized) in climate chamber pots and was told to perform a mixed linear model to see the effect of the sampling poi... |
I have two circular predictor features (two angles between 0 and 360 degrees) and a circular outcome (another angle, between 0 and 360 degrees). I'd like to be able to fit a model and get predictions of the outcome along with their certainty / confidence.
Normally for non-circular data I'd try something like multivaria... |
Kalman Filters propagate using a single previous state estimate $\hat{x}$ with covariance $P$. Is there a formal way of propagating using two previous state estimates with different associated covariance matrices $P$?
I'm working on a filter that estimates an attitude vector, however I need to use the previous two stat... |
We generally use the term residuals to refer to the difference between the training data values and the model's predicted values, but I wonder if there is a different/better term to refer to the difference between the testing data values and the model's predicted values, particularly within the field of machine learnin... |
I have a scale that I would like to validate using CFA. The scale measures different aspects of fear of any given stimulus. In my first study, I had participants create their own stimulus and then they responded to the scale items. This means that each participant had a different stimulus from the others. EFA suggested... |
In the DAG above, we have $A$ conditionally independent of $E$ when $C$ and $B$ are observed (that is $A\perp E|B,C$), but not when only $C$ is observed (that is $A\not\perp E|C$). I don't have a good intuition on why this is true, it feels to me like it should still be conditionally independent.
Could anyone give me... |
I do not understand the meaning of colors in nodes/leaves when building decision trees by sklearn.tree DecisionTreeClassifier.
Here's my code:
from sklearn import tree
from sklearn import datasets
from sklearn.tree import DecisionTreeClassifier
import matplotlib.pyplot as plt
iris = datasets.load_iris()
X =... |
Median Regression under non-parametric set-up (Nadaraya Watson Estimate)
Data: $\{(Y_i,X_i):1\le i\le n\}$
Interested in estimating $\phi(x)=\text{median}(Y|X=x).$
Possible estimates are
Minimize the following to get the weighted median i.e.,$$\min_{\phi}\sum_{i=1}^n|Y_i-\phi(x)|W_n(X_i;x,h_n)\quad\text{where, } W_n(X... |
I am dealing with the following problem:
I have to do a multivariable logistic in R, using the command glm with the argument family = binomial.
The dependent variable is (obv) a binary variable (worker) with a Yes/No outcome and the predictors are gender, student and type of event. gender and student are binary varia... |
When estimating an ordered logit using MASS::polr is it then possible or a good idea to interpret the coefficient from the summary output or is it necessary to determine the exp() and use the intercepts to determine the probability also?
If so, how can the coefficients then be interpreted? Can you give examples of when... |
I have the following problem.
I have a group of people where male and female members differ in their score on a certain scale.
After an intervention both gender scored higher in a post test 6 months later.
The increase in the score for women is roughly 9 % whereas men improvend only roughly 6 %.
What is the appropriate... |
I have a variable $x \sim N(0,1)$, of dimension $p$, with each $x_i$ independent. I want to find the quantile, $q$, such that
$$\mathbb{P}\left(\frac{\sum_{i=1}^p (|x_i| - b_i) }{c} \geq q \right) = a, $$
where $c>0$ is a scalar, $a \in (0,1)$ is a specified value, and $b$ is a $p$-dimensional vector, such that $b_1\ge... |
I used the plm() function for a 2-way fixed effect model with zip_code and month (yy-mm) fixed effects. The data table used for the model is panel data with id and date (yyyy-mm-dd) as the panel indexes.
The model looks like this:
plm(DV ~ IV + zip_code + month, data = panel_data, effect = "twoways", index = c("id", "d... |
Edit to explain how this is different from the suggested duplicate: Reduce Classification Probability Threshold
My question relates to the same topic, but is thoroughly different, so I'm surprised this was flagged as a duplicate. I want to know, specifically, how I go from looking at an ROC curve and identifying the pl... |
I'm trying to train a text classification model that can predict label $A$ and $B$ accurately. However, 95% of the text examples in my dataset, which is representative of the kind of data I want my model to predict on, are not examples of $A$ nor $B$. I instead labeled them as $O$ for other.
I need more examples for my... |
I am trying to apply the following definition of Fisher Information:
\begin{align*}
\mathcal{I}_{1}(\theta) = \mathbb{E}_{\theta}\left[\left(\frac{\partial}{\partial\theta}\ln f(x_{1}|\theta)\right)^{2}\right]
\end{align*}
But I have not succeeded so far. This is my attempt so far:
\begin{align*}
\mathcal{I}_{1}(\eta) ... |
I have 2 regression equations:
1st Regression:
$I_t = a_1 + \beta_1E_t+X'_t\delta_1+\epsilon_1$
2nd Regression:
$I_t = a_2 + \beta_2E_t+X'_t\delta_2+Y'_t\lambda_2+\epsilon_2$
The two regressions are the same, except for the additional term $Y'_t\lambda_2$ in the 2nd Regression.
I would like to summarize these two regre... |
There are several hypothetical instances of causality despite the lack of correlation between two variables, some of them have been mentioned in this forum - Does no correlation imply no causality?
Would anyone be able to share examples of real-world published cases in which there was clear causality without (linear) c... |
Lets say I have $x_{ij} \sim Bernoulli(p_j)$ and $d_j = \sum_{i=1}^n x_{ij} \sim Binomial(n, p_j)$ I could do binomial logistic regression by regressing the logit of $p_j$s on some predictors. If I was then interested in doing some cross validation like LOOCV, what is the difference in leaving out one $x_{ij}$, computi... |
My understanding is that instrumentals variables regressions estimator is consistent, but not unbiased, for identifying the causal effect of a variable x and y.
I understand that for an instrument,z, cov(z,error) = 0 is the identifying assumption needed to ensure that the instrumental variable regression estimator is a... |
Let $\hat{f}=\arg min_f \left( \sum_{i=1}^n (Y_i -f(X_i))^2 + \lambda \int [f^{(m)}(x)]^2 dx\right)$
Suppose $\lambda = \infty$ and consider the cases when m = 0, m = 1. I am trying to understand what the subsequent function will look in both cases.
When m = 1, the penalizing term forces $\int [f’(x)]^2 dx$ to be small... |
I have data $x_1,...,x_n$, $y_1,...,y_m$ and $z_1,...,z_p$ where
$$x_1,...,x_n\sim N(\mu_x,\sigma^2_x)$$
and
$$y_1,...,y_m\sim N(\mu_y,\sigma^2_y)$$
and
$$z_1,...,z_p\sim N(\mu_z,\sigma^2_z)$$
Now let's assume I want to take a Bayesian approach and place the following priors: $p(\mu_x,\sigma^2_x)\propto (\sigma^2_x)^{-... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.