instruction stringlengths 9 38.7k |
|---|
Let's say I fit the following two models in R:
mod.a = glm(log(mpg) ~ log(wt), data = mtcars, family = gaussian)
mod.b = glm(mpg ~ wt, data = mtcars, family = Gamma)
and I want to compare these two models in terms of AIC. I know the response has different distributions for the two models, hence in order to compare... |
The rules I can use without a proof are the following ones:
The thing that I know that a kernel is valid if it is symmetric, e.g. ${f(x,y) = f(y,x)}$ and if ${c^TKc >= 0}$, for each vector ${c \neq 0}$, but I don't know how to prove it, and don't know how to get the matrix K (if this is the correct way to solve this e... |
I want to be able to predict the optical density of a radiograph (x-ray image) based on the input factors of depth, SID, KVP, MAS. I'm a lot more familiar with linear models and have never had to give a model an equation before, and frankly, I have no idea what the equation should be.
I've used the equation below and t... |
I have 12 curves (three replicates for each treatment), see attached picture. X=days; Y=percentage.
The experiment has 2 variables: A: 4 cases; B: 3 cases.
I would like to know, if there is a method to ascertain, if there is statistical significance between these curves.
Is interpolation always necessary in such cases?... |
I am trying to compute a generalized linear mixed model whith my data. My response variable is the presence/ausence of copulation call in each copulation. I have 400 copulations produced by 30 different females and each one contributes disproportionally to the data, so I was controlling female ID as random effect. My p... |
In some domains we have negative/positive class well defined (assigned).
In general binary classification problem we can assign class labels in two ways.
When we have model trained for the original label assignment (its ROC), what can we infer about ROC (AUC especially) for model trained for inverted class assignment (... |
A model (model X) is being trained with a set of features. One of the features (say, feature A) is not available on test data. But it can be accurately estimated using another model (model Y) using some of the information present on the model dataset, and other features that were deemed not useful.
Should model X be tr... |
First of all, I guess I should start my question exposing what is the data about and how it looks right now, I have the following pd.Series object. They are basically the daily conversion of a few days before and after the insertion of a new service inside a bot.
conversions_pre_flux = pd.Series({datetime.date(2022, 10... |
I have fitted a confirmatory bifactor model in lavaan. I then use the omegafromSEM function in the 'psych' package to read the lavaan object and get the omega coefficients. However, the omegafromSem function confuses a group factor with the g factor. The results looks like this:
Any ideas for correcting this?
Thank yo... |
I have fitted the mixture of Gaussians to the natural log of the data. I know that the model is not a very good fit to the data in the tail region, however in the high density region the actual data seems to follow Lognormal.
What is the best way to check whether the model is a good fit in the high density regions?
|
I have received the review for my latest journal article in which I present an experimental study with human subjects. In this study, we have loaded our subjects with impact loads created by a pendulum. The study's objective was to calculate biomechanical limits from the experimental impact data that can be used for sa... |
Suppose there are $P$ cities around a central city, we their daily temperature readings for $N$ consecutive days; how could we find the set of $p \ll P$ cities that give us the smallest MSE with the temperature readings of the center city; that is, the temperature readings of this set of $p$ cities are jointly most pre... |
I am using the survival package in R to run cox proportional hazards models. My question is about the plot.zph function.
This code
plot(zph[1], lwd = 2) +
abline(0, 0, col = 1, lty = 3, lwd = 2) +
abline(
h = cox.ph.mod$coef[1],
col = 3,
lwd = 2,
lty = 2
)
produces this plot:
My question is just a... |
Which likelihood do I use to assess model-data-fit for latent space models like e.g. hidden markov models (HMM)?
Let $X$ be the data, $\theta$ the model parameters and $Z$ be the latent variables. My intuition is to look at:
$$p(X|\theta)=\int p(X|Z,\theta)p(Z|\theta)dZ$$
or $\log p(X|\theta)$. For example compute, $p(... |
I am creating a clustering analysis with both Continuous and Binary variables and am wondering
What type of model is best for these cases
How should I scale my data. Should I only scale Continuous variables and keep binary as 0/1? If this is the case, should I then use a MinMaxScaler so that all my continuous variabl... |
I have a scenario where the multiple linear mixed model is outputting a significant main effect of my task variable (which is a factor with 2 levels). However, the visual graph does not suggest a main effect of task. The main effect has a p value of .0000008 but the difference between the two slopes looks very small.
C... |
I have conducted a linear mixed effect model with the nlme package in R.
lmm.reg.slope <- lme(V1~ V2+V3+V4+V5+V6+V7+V8+V9+V10, data = data,
random = V2+V3+V4+V5+V6+V7+V8+V9+V10|regions, method = 'ML',
control = lmeControl(opt = "optim", msMaxIter=1000,
maxIter = 1000, msMaxEval = 1000))
When I look at t... |
I am performing a probit regression where the latent variable y* is conceptually important. I already have the model defined with regressors: categorical variables, quadratic terms, continuous variables and other integer variables. Now, I am in the post evaluation stage of the model, the average prediction performance ... |
I have created the following pipeline:
ridge = Pipeline([('scale', StandardScaler()), ('estimator', LinearSVR(random_state=7, dual=False, loss='squared_epsilon_insensitive'))])
Then I performed a grid search as follows:
gcv = GridSearchCV(ridge, params, scoring=inner_metric, cv=3, n_jobs=2, return_train_score=True, re... |
The dataset we are using consists of ~3000 images split at 60/40 partition for training/testing. We have used sklearn's GridSearchCV and RandomSearchCV, Bayesian Optimization, and a Hyperband implementation for hyperparameter tuning. After all these methods, we have been getting around 96% accuracy on training and aro... |
I'm working on a matched cohorts difference-in-differences healthcare study with the following causal diagram:
where $X$ is the binary (Yes/No) nurse intervention identifying the treatment and control cohorts, $Y_1$ is pre-period outcome, $Y_2$ is post-period outcome (both measuring # inpatient visits), and $\Delta Y$... |
To test for causality with time series I need a time series with a parallel trend to my treatment group.
Is dynamic time warping an appropriate measure to identify a potential control or is there another more appropriate method?
|
My first model:
Residual standard error: 6010 on 1324 degrees of freedom
Multiple R-squared: 0.7561, Adjusted R-squared: 0.7537
F-statistic: 315.7 on 13 and 1324 DF, p-value: < 2.2e-16
My second model:
Residual standard error: 6014 on 1328 degrees of freedom
Multiple R-squared: 0.7551, Adjusted R-squared: ... |
Imagine you have performance scores for each player on a soccer team using some sort of ranking system. You then group these player scores into the teams they play for, then average the player scores to calculate a "team performance" score (assuming here that better players mean a better team).
If you plot the individu... |
What is the calculation to determine the computer memory necessary to estimate a fixed effects logit model? Will this calculation vary across statistical software? For example, let's say I want to estimate a model with 180 fixed effects in addition to three independent variables for a dataset with 2 million observation... |
I am having some difficulty identifying the appropriate GLM family for my proportional data in a mixed model. My response data is inherently proportional (0,1) but also includes values of 1.
My proposed model:
prop.surv1 <- glmmTMB(worker.prop ~ Source.pop + (1 | Colony_ID) + (1 | Col_Season),
wei... |
Given several lists:
List 1
List 2
List 3
Shirt
Delivery
Outcome
Ladder
Outcome
Football
Football
Football
Teacher
Teacher
Teacher
Operation
Airport
Apple
Engineering
I am looking to:
Detect that Football, Teacher, and Outcome are in several lists
Detect the Football/Teacher and the Outcome/Footbal... |
I am trying to fit a ridge regression model on a dataset, I want to find the best alpha that minimizes the error. I am using RidgeCV, however what would be the optimal range of alpha values to test.
|
In a 50 card deck where 4 copies of a card are allowed at maximum,there are around 2 million possible starting hands.
My question is: If I take a random sample of the 300-350 and analyze it. Can I draw conclusions about the 2 million starting hands?
For example: If in my sample the 20% of starting hands have 2 copies o... |
I'm currently studying zero-modified exponential distributions and working with neither continuous nor discrete distributions, specifically the following general case:
$$ F_{p,m}(x) = \begin{cases}
0, & \text{$x$<0}; \\
1-p+p(1-e^{-x/m}), & \text{$x$>0}
\end{cases} $$
Then what is the mean and variance of rv $x_{p,m}$?... |
My problem is kind of a business case. I doing an analysis for an expiration plan. The current plan is 3 months, and the statistics are not so good. The conversion rate is on the decline, say 2%/month. I want to find out what happens if we are to change it to 4 months or 6 months,... which is better.
This sounds like a... |
I have DataFrame in Python Pandas like below with ID and Target variable (for machine learning model).
My DataFrame is really large and unbalanced.
I need to make sampling on my DataFrame because it is really large
Balancing the DataFrame looks like this:
99.60% - 0
0.40 % - 1
ID
TARGET
111
1
222
1
333
0... |
I have a glmer with a binomial response variable and two binary predictor variables, where there are no observations for one of the four groups. I used emmeans to calculate confidence intervals, and for this group obviously the mean and variance are zero. The model predicts a CI from 0 to 1, and my question is whether ... |
I am trying to assess for differences between groups where a participant may appear in one or multiple groups.
The aim is to assess if an outcome is worse in people with an abdominal injury, limb or thoracic injury. However, participants may have a limb and a thoracic, or a abdominal and a limb etc. I have thought abou... |
I have a high-dimensional dataset (150 variables) with many observations (500k). I would like to get an intuition whether covariate shift is present over time.
I divided the dataset into two sets (early and late period). Just to get a rough first idea whether dataset shift is present, I used the maximum-mean-discrepanc... |
I am estimating a system of equations with correlated error terms. The model includes three equations. The dependent variables are counts of positive answers on strategies adopted by the household to smooth consumption. The dependent variables have different scales. The first strategy is from 0 to 6, the second from 0 ... |
As neural networks are a set of linear operators, using categorical variables with an arbitrary assignment of order where there is no justification (e.g., Doctor:1, Teacher:2) will teach the model to treat higher values as more important.
However is this true if you add a non-linear activation function between layers--... |
I'm very confused right now. I'm studing the ordered logit and ordered probit regression and I just read that logit is not a linear model but it is logistic model but I also read that both ordered logit and ordered probit are family with Generalized Linear Models. But if logit or ordered logit is not a linear model how... |
I am doing an assignment that tests whether acceptance and commitment therapy is beneficial for social anxiety disorder.
With an experimental and controlled group.
I just need to know what test I would use out of t-test, ANOVA’s or chi-squared.
And the details of which one applies.
I’m thinking would be a one-tailed pa... |
I am wondering whether a grouping variable, which is nested within a fixed effect, should be included as a random effect in a linear mixed effects model.
I will exemplify this with simulated data in R. Say we have a fixed effect x that is an integer, ranging from 4 to 14. We have an outcome variable y that has a weak p... |
Context: A machine learning model will be trained using multiple datasets, and the aim is to see if any dataset is better (more balanced, more representative etc) for training. Further context thanks to @dipetkov's suggestion: we have a costly training process. We are trying to understand if further or mixed training d... |
Let's say I have two variables of any distribution for which the population average and variance is assumed/known/fixed for some topic (common in psychology). Using this I can calculate z-scores for both variables and easily compare them.
But is it possible to perform any inference on such transformed data? Their popul... |
I have this df object (9x19),
clusters pearson..s pearson..c pearson..a spearman..s spearman..c spearman..a cosine..s cosine..c cosine..a Z0e..s Z0e..c Z0e..a Z1e..s Z1e..c Z1e..a Z2e..s Z2e..c Z2e..a
2 0.5220314 0.9619119 0.8902166 0.9619119 0.8566094 0.8566094 0.9619119 0.92... |
If I have two variables, $Q$ and $P$ where the value of $\Delta Q\Delta P$ for a distribution $f(Q,P)$ is known. Suppose I now want to consider two new variables, which are a rotation of the original two variables if we consider them to be axes on a plot,
$$Q'=Cos(\theta)Q+Sin(\theta)P,P'=-Sin(\theta)Q+Cos(\theta)P$$
a... |
I am just looking for a scientific source, either a paper or book, that I can refer to when talking about the fact that the ability to represent data in vectors is a desired property.
Reasons can include that most statistical learning algorithms, outside of representation learning, rely on linear algebra. Further, soft... |
I want to check if one of the columns in my dataframe "Activity_Sleep" is normally distributed. According to the histogram it normally distributed:
Minutes_active <- hist(activity_sleep$sedentary_minutes,
border="light blue",
col="blue",
las=1,
breaks=5)
The Shapiro test however, gives the f... |
Basic generalized mixed effects
I am simulating data from a generalized mixed effects model
$$
P(y_{it}=1\mid x_{it})=h(\delta_0+\alpha_i+\beta_t+\gamma x_{it})
$$
where the dependent variable is binary, $y_{it}\in\{0,1\}$, and where the inverse link function is logistic, $h(z)=\frac{1}{1+e^{-z}}$. I set $\alpha_1=\bet... |
From Wikipedia,
$ \sum_1^k{Z_i^2}$ is Chi-squared distributed($Z_i$ is a standard normal random variable)
Also, it is followed by that Pearson's cumulative test statistic $ \sum_1^n{(O_i-E_i)^2 \over E_i}$ approaches to Chi-squared distribution.
($O_{i}$ = the number of observations of type $i$, $E_{i}$ = the expected ... |
I am trying to fine-tune Donut model on ~100 (training) labelled data samples (pairs of images and json files). (Donut is a transformer-based encoder-decoder model, the encoder encodes images and the decoder takes the input of the encoder and the textual tokens to predict next textual tokens.)
Will the classical image ... |
I am simulating data from a basic mixed effects model
$$
y_{it}=\alpha_i+\beta_t+\gamma x_{it}+\varepsilon_{it}.
$$
I then estimate a corresponding fixed effects model on the simulated data. I get good estimates for individual fixed effects but poor estimates for time fixed effects. Why could that be?
(Actually, the es... |
The help file of the `synth' package in Stata states that they average the value of each matching variables across the whole pre-treatment period. Why not match on the value of X in each pre-treatment period?
|
I am struggling to choose the right model. In the data, 30 people answered 10 questions with either "Yes" or "No". The participants are seperated in two groups (Sizes: 13 and 17 per group). Also, there is a continious variable age. Some answers are missing. The question is, if there is a significant difference between ... |
So I have the following pandas crosstab table
a = np.array([[1844, 119],
[4139, 367]])
As you can see the amount of user who are in the "não repescado" category. Surpass, considerably the amount of users in the "repescado" category. In this case, should I aim to make the amount of samples of each side equiva... |
If I found X number of E events given Y unique samples of a known sample space S, where:
Y is much smaller than is smaller than S
E is a binary event
Can I say that event X has a probability and provide a confidence interval for that estimated probability?
For example, given a sample space of 10^4 black and white mar... |
With a normal distribution, I'm familiar with +/- 1, 2, and 3 standard deviations:
+/-
1: 68%
2: 95.45%
3: 99.73%
What are the probabilities for +/- 4, 5, 6, 7, 8, 9, or even 10 standard deviations away from the mean?
|
I am asked to make predictions for the exact final result of some football matches. To be clear, I do not have to place any bets on them, just guessing the final score.
To do that I was thinking about an approach that assumes that bookies know best and leverages that information. For example, I can check the odds for t... |
If relationships between two or more variables are found by Support Vector Machines, Random Forests, Decision Trees, and/or Extreme Learning Machines, could a simple Pearson's Correlation also detect correlations between those variables?
If yes, why? If not, why not?
I'd be thankful if you had a source I could quote fo... |
I have a set of data parameterized by a single variable which is nearly perfectly linear, and I am trying to quantitatively determine with what confidence we can say a theoretical quadratic term is zero. So far I have done this simply by fitting the data twice, once with a purely linear fit, and once also including a q... |
Suppose, a sample of $Y=(1/\sqrt{N}) ∑_{i=1,\dotsc,N} X_i$, where $X\sim \mathcal{Uniform Distribution}(-3, 3)$. We have let's say 10,000 such samples of Y.
Here, when we increase the value of N, why does the value of entropy of $Y$ increase? Is it because there are more elements of uncertainty in the value of $Y$? Wha... |
I am running a two-way repeated measures ANOVA (main effects: Time, Condition). The result is that the main effect of time is significant (P<0.05), the main effect of condition is not significant (P>0.05), and the interaction effect (time*condition) is significant (P<0.05).
Considering there is a significant interactio... |
I am analyzing a randomized dataset (group A,B and C) containing multiple continuous values for each ID gathered over several days (t={0,1,2,3 and 4}) using a frequentist mixed linear model with each ID as a random-effect.
Now, my co-investigators are insisting on a table providing confidence intervals and p-values for... |
Suppose I have a random sample of 5 hospitals where I take one measurement of some variable from each hospital. I can then calculate the standard error of mean as $\frac{s}{\sqrt{5}}$.
However, if my sample is hierarchical, e.g. if the value for each hospital is represented not by one measurement, but by a mean of 10 s... |
I have a population binary data (2000 entries) as (pop_df):
ID Var1 Var2 Var3 Var4 ......Var100 Outcome
1 0 0 0 1 ...... 1 0
2 1 1 0 1 ...... 0 1
3 0 1 0 1 ...... 1 1
...
2000 0 0 0 1 ...... 1 1
and I have taken 500 samples from them (s... |
What is the meaning of p < 0.05 and p>0.05? How does it effect our choice of hypothesis?
I am new to R world. This p-valve outcome during performing t-tests.. What does it really mean?
|
I'm pretty new to Bayesian inference and machine learning, so I think I'm just lacking the right words to search for a paper that addresses this topic, so here goes:
I'm trying to do image segmentation using a CNN. However, I have some prior knowledge about the likely class for each pixel. So for a given image X that I... |
I have daily measurements of a variable X in my timeseries. I was using two observations (D and D-1) to make forecast of a single day ahead (D+1). After plotting ACF, i got the following:
We can see that would be better to use D-7 and D-14, wich have higher correlation than D and D-1 (wich make sense to me. For examp... |
I created an array of test data as a linear combination of a known
random value and an unknown random value.
Y <- (Known*P) + (Unknown*(1-P))
I then made a linear regression model of Y against the Known values
and extracted the $R^2$ value.
model <- lm (Y ~ Known)
measured.Rsquared <- summary(model)$r.squared
A plot... |
Let $X = A \sin(\phi)$ where $A \sim \mathcal{N}(\mu, \sigma^2)$ and $\phi$ is a uniform random variable defined over $[0,2\pi]$. Assume these two random variables are independent. What is the PDF of $X$?
According to [1], the PDF is given by:
$$f(x) = \int_x^\infty \frac{e^{-\frac{1}{2}\left(\frac{A-\mu}{\sigma}\right... |
If $Bias(\hat{\beta}) = (\beta - \mathbb{E}[\hat{\beta}])$, is there a term to describe the quantity $\frac{\mathbb{E}[\hat{\beta}]}{\beta}$?
|
I am wondering if it is appropriate to use a standard scaler (center and divide by std) to scale categorical and real number variables in a data set for the purpose of comparing the resulting linear regression model coefficient variables together to determine feature importance. For example, in the Kaggle insurance da... |
I apologise that the question in the title is a little ambiguous but it is hard to word in a single sentence.
Say I have a set of data, but it is found that a data point is either quite low or quite high, and less likely to be in the middle, imagine the opposite of a normal distribution.
Ie, say I wanted to take a stud... |
Is there a specific body of research or term for this type of problem? It feels different enough from the standard predictive model framework that there may be, but I can't remember discussing anything like it in grad school.
So again, building a predictive model to predict a target label A, but in the training data an... |
Sometimes it's quite confusing when it comes to determining how to answer a probability question. Confusions always arise as of whether I should multiply/add or make conditional the probabilities. For example the following:
Consider influenza epidemics for two parent heterosexual families.
Suppose that the probability... |
Dynamic Time Warping algorithm has a terrible convergence O(M x N), where M and N are the lengths of the sequences being aligned. This is due to the cost matrix computation, where a sequential approach is needed in order to compute the cumulative costs.
What are the alternatives? How can one decrease the computational ... |
I'd like to ask if there is a difference between these two options in survey design.
We are running a mentoring program and want to measure if the program helps through the participant survey.
Let's suppose the program served 1000 participants.
Option 1:
The survey was distributed to all participants and 100 filled out... |
Let $X$ be a continuous random variable with PDF
\begin{equation}
\nonumber f_X(x) = \left\{
\begin{array}{l l}
4x^3 & \quad 0 < x \leq 1\\
0 & \quad \text{otherwise}
\end{array} \right.
\end{equation}
How can I calculate the moment-generating function of X and find the third moment?
What I get is
MGF = $e^t * (\frac{... |
I'm training a binary classifier on imbalanced data (The real/production data has ~%2 of positive labels).
Besides the questionable efficiency of oversampling/undersampling technique, I have a lot of training data, so I can manually add real positive observations to the data, instead of synthesizing them with an oversa... |
I am a beginner in statistics. I am using hierarchical linear modeling (hlm) to predict the effect of centrality on voice. The intercept is significant, but the random effects are not significant. Does this matter?
Please help e interpret it. It is part of final doctoral research.
The Model for outcome for 1 type of... |
While reading a FairML paper, I saw that they use Average Absolute Odds, whose math definition will be:
$\text{FPR} = \frac{\text{FP}}{\text{FP + TN}} $
$\text{Average Absolute Odds} = |TPR_j - FPR_j| + |TPR_i - FPR_i|$
Where $j$ and $i$ are the protected group and the reference group.
What will be the social intuition... |
A theoretical question. I am tasked to estimate the effectiveness of treatment A in comparison to treatment B. Let's say these treatments are in the field of risk management so their targets are anything but randomly chosen. However, the reasons for choosing treatment A over treatment B are opaque and differ from case ... |
I'm performing dominance analysis (using domir) not to predict/forecast but only to report on the relative importance of a set of independent variables. Do I still need to analyze with split datasets (train and test) and make sure that relative importance is stable over multiple random splits?
|
Recall P(A AND B) = P(A|B)P(B) = P(B|A)P(A). Mathematically, it seems as long as all the terms in the expression is given, the position of A and B doesn't matter much. (i.e. the line defining which variable acts as 'condition' is blurred). However, logically sometimes it doesn't make sense. E.g. when the ground of the ... |
Recently I have read the book "Pattern Recognition and Machine Learning" by Bishop, and I spent a lot of time deriving the result of the clutter problem for Expectation Propagation. But I don't know how to derive Eq.(10.217) and Eq.(10.218), as you can see in the picture:
I don't understand why variable $\rho_{n}$ sud... |
Background
I use R for statistical computations. I am working on data obtained from Lathe CNC Machining Systems there is a tool and there is a workpiece that needs to be operated on. Lathe Machining is a typical example of Subtractive Manufacturing.
Problem
According to the literature, there is an absence of empirical... |
I am testing different ways to estimate the calibration of of machine learning models (binary classifiers, both during training and once it is in production). The problem I have come across is how to handle when you have a general prediction error (in production).
For example:
I have a model predicting probabilities. M... |
I wondered what statistical test to use in the following case:
one categorical factor/condition with three levels
one ordinal factor/condition with three levels
one numeric response variable
a small population of individuals (N = 20)
the individuals vary strongly with respect to the response variable
each individual w... |
I have built a series of Generalized Linear Mixed Models, in order for the models to converge I need to transform my continuous explanatory variables. Both log transformation and scaling/centering work. They produce models with different AICs, and different log odds.
Using the exact same variables and data, with a log ... |
So I‘m basically more or less trying to prove what is stated in the answer by syeh_106 here:
Is differential entropy always less than infinity?
if the variance is finite, then the differential entropy is also finite.
However, unfortunately I can not find any connection between
$ H(X) = -\int_{S} f(x) ln (f(x)) dx $... |
Hi i am trying to fit a power curve to model some observations in an nlme.
However, I know some observations to be less reliable than others (reliability of each OBSID reflected in the WEIV in the dummy data), relatively independent of variance, and I quantified this beforehand and wish to include it as weights in my m... |
If I am having equation as X-14.8%X = 5.98, then what is coefficient of variable X? Is it 1% or 100%?
|
As is discussed in another question I posted, it is legitimate to compare the AIC values for two linear models using the same features but differing in their likelihoods, such as Gaussian and Laplace. This does not make sense to me.
Let $k$ be the parameter count and $\hat L$ be the model likelihood. Then:
$$
AIC=2k-2\... |
I have two models, which share some predictors. I'd like to compare the magnitude of their effects on the respective response variable.
Here's an example based on data and code taken from here.
Data:
library(mgcv)
forest <- read.table(url("https://raw.githubusercontent.com/eric-pedersen/mgcv-esa-workshop/master/data/f... |
Workers in a warehouse pick items in a pick-list to fulfil orders.
The number of orders a worker fulfils in a shift depends on how quickly they work.
But the total number of orders received per day changes - for instance, fewer orders are received at weekends. (More orders means more work available.)
Also, the headcoun... |
We have some surveillance data from a hospital that include infections with antibiotic-resistant bacteria and the number of admissions, patient-days so that I can calculate incidence and prevalence. These are monthly datapoints, for now they span 2020 and 2022, but will eventually include 2021 (and maybe 2019 as well).... |
In order to use an instrument variable it has to be exogenous.
My question:
Does IV become exogenous if its values have been randomized? Ex. finding people with diabetes by pulling names from resident register randomly.
Exogenity as I understand it is when the variable does not correlate with the residuals. Basically t... |
For continuous random variables $X$ and $Y$, I want to show that $E(g(X,Y) |Y=t) = E(g(X,t)|Y=t)$. This looks simple, but I can't do it.
I know that if $X$ and $Y$ were discrete then $E(g(X,Y) |Y=t) = \sum_{(x,y) \in \mathbb{Z^2}} g(x,y)P(X=x,Y=y|Y=t) = \sum_{(x,t) \in \mathbb{Z^2}} g(x,t)P(X=x|Y=t) = \sum_{x \in \math... |
I am very new to Machine learning. I am trying to implement a feedforward neural network to predict release year of songs based on some audio features.
I have a train.csv file and dev.csv file. I use train.csv to train the model and side by side evaluate my model after each epoch of training on dev.csv data by calcula... |
Let's say we are performing an analysis on daily time series data that exhibit a sales pattern w.r.t day of the month. Let's say people get their salary on 14th and we can see an strong effect on sales the upcoming days after 14th. Is this effect considered a cyclic or a seasonal?
As I see it this effect does not have ... |
In Probabilistic Graphical Models by Koller and Friedman there is an algorithm to find the nodes reachable from node $X$ via trails that are active, given conditioning set $Z$. What is the meaning of "$\uparrow$" at line 22, in the algorithm given below (given in image format, due to its length)? -
Does "trail up thro... |
Suppose I have a list of events over years. In this list multiple events can happen in the same year and for each event there are several characteristics / criteria. For example, you could have elections at the municipal level (events) and criteria (election won in 1st round with a candidate receiving more than 50% vot... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.