instruction stringlengths 9 38.7k |
|---|
Let’s assume there is a variable $z$ that can be modeled as:
$$z=f(x)+g(y)+ε$$
Where $f$ and $g$ are unknown functions greater than zero, $x$ and $y$ are independent variables and $ε$ is random noise. $y$ is totally unknown, but I have data pairs $(x,z)$ and I’m trying to identify the $x$ value at which $z$ is “conside... |
I have a question about bootstrapping correlated values from grouped data. The context is using Census data grouped by region, $R$ (tract or block group). Each region has a list of estimated values $V$: median income, population in poverty, age 18 to 64, etc. Each estimate has a margin of error, $MOE$. This $MOE$ is... |
I am currently doing the statistical analysis for my master thesis.
In my experiment, I have 3 species that I expose to Erosion treatments.
After every treatment, I see what percentage of each species fall under one of 11 damage categories as can be seen in the picture:
I collected how big the angle compared to standi... |
Edvard, the evaluator in sample B, does not know Richard, the target subject in sample A. However, the two, independently, give the same answer/Likert value (1-5) to 30% of the questionnaire items. It results in an artificial inflation of the correlation between the evaluations. How can I reduce it?
|
I've been trying to learn how to do this analysis but I can't find any information that sheds light on my case and I can't figure out what to do from Hayes' book. I would really appreciate it if someone could help me out.
For my undergraduate thesis, I'm examining how emotion regulation predicts resilience and whether ... |
I've been told that these following acf graphics basically shows that both series are stationary, but i didn't really understand why.
Is it if both autocorrelation and partial autocorrelation can gradually decay to 0 then the series is stationary? Or it's a lot more complicate than this..?
|
I am trying to implement the Schwartz-Smith (2000) commodity pricing model from the paper Short-term variations and long-term dynamics in commodity prices
The model is estimated using the Kalman Filter, where the state space is described by the following two equations:
xt = c + Gxt-1 + $\omega$t
yt = dt + Ftxt + vt,
w... |
I have a fairly elaborate Directed Acyclic Graph (DAG) for the analysis that I am running, but I am presenting a simplified example here to clarify a few things.
Here is a DAG from dagitty.net:
According to the graph, I only need to adjust for A in order to close
the back door path and to identify the total causal ef... |
I am iteratively solving a stochastic equation by generating a random field and using the resulting generation to move toward an equilibrium. I know that the system converges but I want to use an appropriate stopping criteria.
At equilibrium, I know that if I continue to iterate, the mean change over many iterations wi... |
I am using bootstrapping to calculate confidence intervals for a risk ratio. In some of the bootstrapped samples, there are no observations of one of the outcomes, leading to the risk ratio being value / 0. Thus, when I try to calculate the SE, I get a NaN value in R, and thus an Inf upper CI.
How should I calculate th... |
I'm trying to adjust a Generalized Additive Model to a daily time series. My goal is to do a short-term forecast for the gas demand of my city. I have data since 2015, including information about the weather (minimum and maximum temperatures). The data with which I'm working is daily data, and since I have information ... |
The leaps library regsubset function gives an object that contains the list of BIC drops of each subset model from the intercept model.
However, it is different from what is calculated manually.
For example, using the mtcars dataset
Reproducible code:
library(leaps)
# Stepwise selection
stepwise = regsubsets(mpg~., da... |
I want to investigate whether there is a significant difference in the centrality of eigenvectors between two groups. The sample sizes of the two groups are over 9000 and 300, respectively, with a large difference. I used the Mann-Whitney U non-parametric test, and I want to know whether the result of the non-parametri... |
The setting is $A\in \mathbb{R}^{n*n}$ with each entry being i.i.d. bounded r.v. in $[a,b]$. The question is to prove $\Vert A\Vert_2$ is sub-Gaussian.
Intuitively I thought since $\{A_{ij}\}_{i,j=1,...,n}$ is bounded, then
$$\Vert A \Vert_2 = \sup_{\Vert v \Vert = 1} \vert v^TA^TAv\vert = \sup_{\Vert v \Vert = 1}\vert... |
Is it possible to use intention-to-treat principle in randomized studies with crossover design? Was it ever used in such studies?
|
A previous question indicates that after conducting a permutation ANOVA and finding a significant interaction, permutation tests would be suitable for pairwise comparisons.
However, I also saw online tutorials (e.g. this blog post, or an older one from the same author) presenting how to use bootstrapping to obtain cont... |
I'm confused about the two different recalculated 95% confidence interval (CI) results from two meta-analyses on the same article.
The original article reported a geometric mean of 2.3 and a geometric standard deviation (SD) of 1.60.
However, one meta-analysis calculated a 95% CI of 0.76-3.84 using these values, while ... |
I red the paper about transformers, and fully understood every single piece of that, so now I'm implementing it from scratch in tensroflow, without using any shipped layer from the library.
The only missing part is how they intend to take a single tensor (batch size, time-steps, embeddings) and give it to the multihead... |
Let $X_i$ ($i=1,\dots, n$) be a random sample from $X\sim \exp(\lambda_1)$ and $Y_j$ ($j=1,\dots, m$) be a random sample from $Y\sim \exp(\lambda_2)$, and $X$ and $Y$ be independent. I try to find the generalized test of $H_0: \lambda_1=\lambda_2$ v.s. $H_1: \lambda_1\neq \lambda_2$. Find the distribution of the statis... |
I am reading this paper and need to replicate what they did in Table 4:
However, I am having trouble understanding what are local and global polynomial regressions.
Could someone please explain?
If you need more context, you can see the link and see page 8, right above Figure 5: "We do this exercise for the six global... |
Consider random variables $V_1$, $V_2$, $V_3$, and $V_4$.
Then, define $U_2=V_1+V_2$ and $U_3=V_1+V_3$. That is, $U_2$ and $U_3$ are correlated by construction.
My first question is whether the following equality can hold:
$$
\Pr\left[U_2<V_4\mid V_4,U_3\right] = \Pr\left[U_2<V_4 \mid V_4\right] \tag1
$$
In my personal... |
I want to predict the concentration of a biomarker (continuous) according to the interaction of white blood cells with time (both continuous), considering medical units as a random effect that may impact both the intercept and smooth of this interaction.
Is the following syntax appropriate?
bam0 <- bam(bmk ~
s(unit... |
The question of modeling the zero-inflated part of a negative binomial mixed effects model is a thorn in my side. I've read a lot of articles and blogs and it seems to be an issue that is largely glossed over, perhaps due to the fact the choice about the zero-inflated part of the model is very specific to each research... |
I am seeking help on how to perform Monte Carlo simulations on (potentially) correlated time series. I have a single product (e.g., men's wallets) that are sold out of seven stores in the same city. I have last year's daily sales of wallets for each store. Most days, a store sold zero, some days they sold one, fewer da... |
When studying the relationship between multiple time series often the first step is to determine stationarity of the individual time series.
Given one of the time series, one can check for stationarity by assuming an AR(p) model for some p, and then applying an ADF test.
However, from the outset one expects that the se... |
I received a reviewer report on a meta-analysis that I submitted which stated that a multivariate regression that I performed should instead be "a backward stepwise multivariate logistic regression analysis since Bsum is insignificant".
Ignoring the fact that every source I know says that stepwise procedures should be ... |
I'm having trouble understanding why I get radically different results if I try to find the parameter of a Zipf distribution when I use the methods proposed by Clauset et al. (2009) as opposed to using the log-transformed rank and frequency data and fitting a linear regression.
This is the code I'm using:
# Creating 50... |
1. Context
I have a dataset structured like this:
> str(dataset)
'data.frame': 52135 obs. of 9 variables:
$ lat : num 59 59 55 59 59 63 59 59 59 59 ...
$ long : num 16 16 12 16 16 14 15 16 15 15 ...
$ date : chr "1951-03-22" "1951-04-08" "1952-02-03" "1952-03-08" ...
$ julian_day : ... |
I am training a model with LightGBM, and I am getting an output like this:
[LightGBM] [Info] Total Bins 1981
[LightGBM] [Info] Number of data points in the train set: 28632, number of used features: 15
[LightGBM] [Info] Start training from score 2.534713
[20] training's rmse: 4.7065 valid_1's rmse: 4.79156
[40] t... |
Can I use the same training and validation data to perform MLM and train the weights of a classification head?
Here is the background of my specific problem:
The problem is a binary classification problem using text data. I am using 'bert-base-uncased' from Huggingface. The entire data set was created using various dat... |
In this paper (PMID 23123231; paywalled), the authors develop a logistic regression prediction model for Alzheimer's disease. In Table 3 the authors then present disease prediction results after applying the model to a validation set (the Class column specifies probability intervals into which the patients were split):... |
I have a sampling process like the following:
Randomly select psus from one stage with equal probability
Use all ssus of each psu selected for estimation.
Each ssu is associated with a statistic from an aggregate of sub-units
So for example we want to estimate a statistic about the number of insect per trees in orcha... |
I need to test if there is a significant difference in leakage between prototypes. I've tried kruskal wallis and post hoc wilcoxon pairwise and Dunn-Bonferroni test, and the post hoc test always say that there is no significant difference between them for except A.4 and C.4, but that can't be... for example how can th... |
I have set of data Columns say $A,B$
Now I form a new data Columns
$Y= A+B$
Now $Y$ is the dependent
I have another independent data $X$
I now need to fit a regression of the form
$Y=c*X^b$
where $c$ and $b$ are constant to be predicted from regression
Now I used power fit to find $c$ and $b$
To get a good $R^2$, $AdjR... |
I have hypothesised equivalence among 3 repeated measures. The data are such that a nonparametric approach would be needed.
What I have considered, but not necessarily know how to implement correctly:
Compare confidence intervals at 100 * (1-2 * alpha)% for a Friedman ANOVA. This may be represented in a graph.
Attemp... |
I know this is technically assignment question.
The training data contains 9000 observations and 900 features. I have to build the model to predict the testing data, which contains roughly 5,000 observations and same number of features as the training data.
I am wondering that since there are so many features, we use P... |
Is bias variance tradeoff a thing for quartile regression? Can I assume the error for quantile estimation follows a certain distribution (e.g., estimated quantile - true quantile follows normal distribution)?
|
Let $Z$ have a uniform distribution on $[−0.5, 0.5]$. Let $X$ be a continuous random variable
which is independent of $Z$. Let$$Y = ⌊X + Z⌋ − Z.$$
I would like to ask how to compute the marginal density function and joint density function of $Y$ and $X-Y$. I have zero idea on how to deal with the floor function. I only... |
I’m looking at making predictions of baseline and treated survival from a parametric survival curve that are unbiased. I have a matched sample to try to control for observed confounding and wanted to use doubly robust estimates in my treatment effect model by controlling for covariates.
I was wondering, if it was valid... |
For some reason my model keeps showing up to be a poor model when checking its accuracy through the confusion matrix and AUC ROC. This is the model I am stuck with after doing backward elimination. This is the logistic output:
`Call:
glm(formula = DEATH_EVENT ~ age + ejection_fraction + serum_sodium +
time, family ... |
I am working on binary classification problem:
there is a website, where user can do 2 types of actions:
Non-target actions
Target actions
I have a large dataset with columns:
utm_source, utm_medium, utm_keyword, ... target
There is one row per session.
utm_source, utm_medium, utm_keyword and others are parameters of... |
Let's say I train a model and it has an RMSE of 2.5.
Does this mean, that on average, my prediction will be 2.5 away from the true value? Or does some scaling need to be done in oreder to get this value's magnitute to be in line with the target variable's magnitude?
|
Is there any mathematical result that states that the Wilcoxon-Mann-Whitney (WMW) test is optimal in some sense, for a specific testing problem that is a subproblem of the general problem the WMW test is testing, say against an alternative of two specific distributions where one is stochastically larger than the other,... |
I am performing different Active Learning experiments using several query strategies. One of the query strategies is the "Ranked batch-mode sampling" from Python's modAL library, which is an implementation of Cardoso et al.’s ranked batch-mode sampling.
The query strategy computes the scores for each data instance of t... |
I want to verify for multicollinearity between independent categorial variables. Which test I should use? First, I want to examine the relationship between the willingness to participate in medical decision making (dependent variabele - 2 categories) and education (independent variable).
Later, I would do a multiple bi... |
I'm making experiments to evaluate language models to brazilian portuguese datasets.
So, i've made so each dataset is divided in 10 parts, I want to use cross-validation to determine the model's performance. But the thing is, I also want to use Hyperparam Search to determine the best parameter for the model.
I've red t... |
(Using R) - this is my first time posting a stats question online, so please let me know if I'm on the wrong forum or haven't provided enough information and I'll do my best to fix it!
About the data and my goal here: Best analogy I can think of is that it's a language course and the final exam is a long conversation. ... |
I am working with a distribution with the following density: $$f(x) = - \frac{(\alpha+1)^2 x^\alpha \log(\beta x)}{1-(\alpha + 1)\log(\beta)}$$ and CDF $$\mathbb{P} (X \leq x) = \int_0^x - \frac{(\alpha+1)^2 t^\alpha \log(\beta t)}{1-(\alpha + 1)\log(\beta)} \, dt = \frac{x^{\alpha+1}((\alpha+1)(\log(\beta x))-1)}{(\al... |
So I am currently studying the relationship between University Rankings (my dependent variable) and academic freedom (my independent variable, which can take values between 0 and 1).
I have a panel of hundreds of universities over 17 years.
At first, I was hesitating between a linear model (using OLS regression with fi... |
I've recently started learning about Bayesian statistics, and I came across this very nice answer by Xi'an https://stats.stackexchange.com/a/129908/268693, which [in my slight paraphrasing] says the following: Given a family of distributions $\{f(\cdot|\theta): \theta \in \Theta \}$ defined on a sample space $\mathcal{... |
I am trying to implement Attention is All You Need paper in PyTorch without looking at any code.
I'm struggling to understand how do I get the Keys and the Values from the output of the top encoder. Do I learn 2 linear projections which take as input the output of the top encoder (which is a single matrix) and output t... |
In short:
MCMC is used to construct posterior distributions for parameters of central tendency and all parameters used in the formula for this central tendency. I only care about the parameters of central tendency which will readily converge. However, several upstream parameters do not converge. Should I worry about th... |
I have noticed that Logistic Regression (https://en.wikipedia.org/wiki/Logistic_regression) is a model that used significantly for both Regression problems and Classification problems.
When used for Regression, the main purpose of Logistic Regression appears to be to estimate the effect of a predictor variable on the r... |
Let $\{f(\cdot|\theta): \theta \in \Theta \}$ be a family of pdfs and let $\pi: \Theta \to \mathbb{R}$ be a prior. According to Bayes' theorem (as stated in, e.g., Casella and Berger), the posterior distribution $\pi(\cdot|x)$ is given by
$$
\pi(\theta|x) = \frac{f(x|\theta) \pi(\theta)}{\int_{\Theta} f(x|\theta) \p... |
How to deduce the following general result:
$$ \operatorname{Var}(\max_i X_i) \leq \sum_i \operatorname{Var}(X_i)\,,$$
where $X_1,\dots,X_N$ are any random variables (maybe not independent) with finite second moment.
I have seen this result many times, but I don't know how to prove it. Thank you for your help.
|
I have a file (corresponding to one and only one person) with n columns (or classes) containing different data: Name (class 1) , address(class 2) , number (class 3), username (class 4), etc (class n). I wish to classify an incoming data as one of these classes.
Example : If I get an incoming data to be : "John Smith" .... |
Decision Tree
I have found Misclassification rates for all the leaf nodes.
samples = 3635 + 1101 = 4736, class = Cash, misclassification rate = 1101 / 4736 = 0.232.
samples = 47436 + 44556 = 91992, class = Cash, misclassification rate = 44556 / 91992 = 0.484.
samples = 7072 + 15252 = 22324, class = Credit Card, misc... |
I'm working on a model for survival prediction and using the concordance index to evaluate the results (https://medium.com/analytics-vidhya/concordance-index-72298c11eac7) . I want to show that my model is better than a baseline model using my test set. My understanding is that for a typical test metric (ie prediction... |
I'm trying to make sense of some results I ran on a weighted regression with log-transformed IV1 and DV, and IV2, which is a factor variable. IV2 is restaurant price range, categorized as 1 (low price range) or 4 (high price range), to be exact.
I'm trying to interpret the effect of IV2 on the DV. The coefficient for t... |
What's the difference between Locality Preserving Projection (LPP) and Principal Component Analysis (PCA)?
This is our data. It's a 3D plot. Here I use LPP and PCA to reduce the 3D data to 2D data. It gives different results. I know that PCA reduces the dimension on maximum variance, but what about LPP?
Locality Prese... |
can someone help me please?
How can I see the coeficient for municipio6:ano0, considering that I don't want to have a reference level in my model for municipio variable (that's why I set intercept to 0).
> m1 <- glm.nb(casos ~ 0 + municipio + ano0 + municipio:ano0 + offset(log(populacao)), data = dataset)
> summary(m1)... |
I am building DL model that test data can have some different labels compared to training dataset. My semi-supervised model is kind of terrible to predict test data, and I want to know is there any DL paper about this kind of work?
And
I'm trying to train with multiple datasets that have common labels but also have oth... |
It is well known that if a random variable $X$ has distribution:
$$
\mathrm{P}(X = x)
=
\begin{cases}
\frac{1}{2}, & x=0,\\
\frac{1}{2}, & x=1,\\
0, & \text{otherwise},
\end{cases}
$$
(i.e., it is Bernoulli-distributed with probability of success $\tfrac{1}{2}$),
it saturates Chebyshev's inequality for $k=1$:
$$
\mathr... |
I'm working with a list of performance metrics. Each row represents some # of observations of one leg of the course/route/etc. So each row/leg will have a best (time), worst, avg and stdev.
Adding together the best, worst and average values to get the course/route level totals makes intuitive sense to me, but I'm not... |
If a string of characters (S) that is 325384 long, contains 458 As and 22 Bs. What is the probability that if the 458 As and 22 Bs were randomly positioned along the 325384 string of characters that there would be exactly 861 characters between at least one of the AB pairs.
Whilst I am interested in the probability of ... |
I would like some help with calculating the Fisher Information $I_o(\beta)$ and the expected information for a gamma distribution defined by
\begin{align*}
f_X(x) = \frac{\beta^\alpha x^{\alpha - 1}e^{-\beta x}}{\Gamma(\alpha)} \; x > 0, \alpha >0, \beta > 0
\end{align*}
Where $\alpha$ is a known value and $\beta$ ... |
I recently saw some paper about stereo matching :
End-to-End Learning of Geometry and Context for Deep Stereo Regression [1]
https://openaccess.thecvf.com/content_ICCV_2017/papers/Kendall_End-To-End_Learning_of_ICCV_2017_paper.pdf
End-to-End Learning for Omnidirectional
Stereo Matching with Uncertainty Prior [2](which ... |
As far as I know, Co-variance based SEM requires the normality assumption. To avoid violating this assumption, I am considering using Bootstrap Bias-corrected method intervals for hypothesis testing when performing CB-SEM in AMOS. However, I have found not many studies using these two methods combined. I think the main... |
I'm looking for appropriate types of analysis for a data set that contains counts of different crab species across 4 sites with 3 replicates per site (12 in total) over a time period of 1.5 years - 5 sampling time points.
The peculiarity of the data set is that each crab species only occurs on specific coral hosts. I'm... |
I'm training a BERT sequence classifier on a custom dataset. When the training starts, the loss is at around ~0.4 in a few steps. I print the absolute sum of gradients for each layer/item in the model and the values are high. The model converges initially but when left to be trained for a few hours and sometimes even e... |
I am working on a classic problem when the posterior probability distribution of a proportion must be obtained. This parameters is assumed to followed a beta distribution, therefore the number of ocurrence is modelled by a beta-binomial distribution. I am using RJAGS to compute the posterior distribution and have some ... |
I have frequency predictions for a discrete distribution:
$p(x_1)=0$, $p(x_2)=0$, $p(x_3)=0.05$, $p(x_4)=0.95$
I need to smooth the distribution so I don't have zero values. I think the solution is to use the Lapalace additive smoothing function:
$(x_i + \alpha) / (N + \alpha*d)$
But I am unsure what values to use for... |
We want to combine two truncated distributions to better model one phenomenon. For example, we have a Gaussian distribution, but we want to modify the right hand side tail to make it heavier. So we want to put a Pareto distribution. Now the problem is that we want to make sure that there is continuity at the density le... |
I have the following stochastic differential equation
$dX_t=\kappa\left [ \theta-X_t\right ]dt + \Sigma d W_{t}$
I derived formula for $X_t$ which is in the following form
$X_{t}=\theta+e^{-\kappa t}\left ( X_0-\theta \right )+\Sigma e^{-\kappa t}\int_{0}^{t}e^{\kappa s}dW_{s} \qquad \forall t \in\left [ 0,T \right ]... |
With this very simple data:
> A
[1] "a" "a" "a" "a" "b" "b" "b" "b" "b" "b" "b" "b"
> B
[1] "x" "y" "x" "y" "x" "y" "x" "y" "x" "x" "x" "x"
> C
[1] "l" "l" "m" "m" "l" "l" "m" "m" "l" "l" "l" "l"
> response
[1] 14 30 15 35 50 51 30 32 51 55 53 55
I try to reproduce the Type-3 car::Anova by using step-by-step term ... |
This wikipedia article describes spam filtering using Naïve Bayes: https://en.wikipedia.org/wiki/Naive_Bayes_spam_filtering
It says P(S|W) is given as Pr(W|S)*Pr(S) / (Pr(W|S)*Pr(S)) + Pr(W|H)*Pr(H)).
However, one could also get P(S|W) by estimating P(W) instead.
Most textbooks simply say it's unnecessary to estimate P... |
From What's the skewed-t distribution? there seems to be multiple way of defining skew distributions. However I am not sure if these methods are equivalent
The original questions show methods from
C. Fernandez and M. Steel (1998)
P. Theodossiou (1998) - which is the basis of this wikipedia page, and this R package
A. ... |
Suppose that you have a null hypothesis $H_0$ that you want to test. Let $\alpha$ be a given confidence level, for example $\alpha = 0.05$. Suppose that the test statistic $T$ follows (under $H_0$) a $\chi^2$ distribution, say $T \sim \chi^2 (4)$.
In my understanding, the critical region of a distribution means a set o... |
I am conducting various active learning experiments on two Biomedical Relation Extraction corpora:
2018 n2c2 challenge: 41000 test samples
DDI Extraction corpus: 5700 test samples
and using four different machine learning methods: Random Forest, BiLSTM-based model, Clinical BERT, and Clinical BERT with an extended i... |
Def. Let $ \theta \in \mathbb{R}^{\mathbb{Z}}$ be a sequence of real-numbers such that $ \sum_{j \in \mathbb{Z}} | \theta_j | < \infty$ and $\{W_t\}$ be a white noise with variance $\gamma$. Then a time series $\{X_t\}$ is a linear porcess if it can be represented as $$ X_t = \sum_{j\in \mathbb{Z}} \theta_j W_{t-j}.$$... |
I want to build a model using a dataset. Then, I edit the dataset by changing the class attribute (let's say I will have a new version of the dataset). After that, I want to apply the same model to the new version of the dataset.
Is this procedure correct?
Because I did it but the performance of the model improved sign... |
Let $X_i$ be iid random sample from $exp(\lambda)$ with $f(x;\lambda)=\lambda e^{-\lambda x}$ for $x>0$ and $\lambda>0$. Find the $\alpha$-level uniformly most powerful test for $H_0: \lambda\le \lambda_0$ v.s. $H_1: \lambda> \lambda_0$.
I try to use the Karlin-Rubin theorem as follows. Under $H_0$, we take $$T=2\lamb... |
Suppose that we want to know how the price of a house changes per meter square of the area of the house. Further suppose that I have a dataset as the following:
Area | Price
100 200k
120 230k
...
That is, only the area and the price of a set of houses.
Given this setup I can think of two different ways:
Fit a l... |
The screenshot below is from a paper that I am reading and the author says it is a non-parametric regression. The explanation below just seems like a normal OLS with some covariate, fixed effects.. etc. What exactly is a non-parametric regression and how do we see it from the equation below? When do we use it? The only... |
Assume that you have made a PCA analysis and you got your eigenvectors inside the projection matrix $W$. If you project your data $X$ with $W$, then you get the desired projected dimension.
But PCA and ICA are opposite. If we look at this picture. PCA is projecting the most principal data, while ICA is projecting the m... |
Scenario:
I have data comparing the number of tree stems in 30 forest plots between two sampling years (1992 and 2012). Each plot received hurricane damage between these 2 sampling years -- this damage was coded as being 0-100% of trees felled/damaged.
I ran a linear regression using lm() in R including a centered year... |
With all the concern about reproducibility, I have not seen a very basic question answered. Using the standard hypothesis testing approach, if one experiment results in p<0.05, what is the chance that a repeat experiment will also result in p<0.05? I've seen a related problem approached by Goodman (1) and others, start... |
For GLMs in the exponential family, we can obtain the standard errors for the regression coefficients as a function of the diagonal of the fisher information matrix. Does this still hold if the regression distribution is not in the exponential family (this is of course technically not a GLM but I'm not sure if there is... |
can you help me please?
In this model, the interpretation of the continuous variable tmax for an example would be:
a increase 1 unit of tmax (exp(coef)=1.06) increases in 6% the incidence of disease in a month. Considering that casos = monthly number of cases of the disease, and populacao variable being used as offset ... |
I was reading the following link (https://en.wikipedia.org/wiki/Scoring_algorithm) on the "Fisher Scoring Algorithm". As I understand, the Fisher Scoring Algorithm is similar to the Newton-Raphson Algorithm, but is used more to optimize Likelihood Functions of Statistical and Probabilistic Models.
Here is my understand... |
Let $p$ be a positive integer and suppose that each observation in my data set is a length-$p$ multivariate normal vector, and I have $n$ (an integer) observations of the length-$p$ multivariate normal vector. So
$$
\vec{Y} = \beta_0 + \beta_1 \vec{X}_{1} + \cdots + \beta_k \vec{X}_{k} + \vec{\epsilon},
$$
with $\vec{... |
I see it is often quoted that the omitted variable bias formula is
$$
\text{Bias}\left(\widehat{\beta_1}\right) = \beta_2 \cdot \text{Corr}\left(X_2,X_1\right)
$$
where $\widehat{\beta_1}$ is the estimated coefficient in the biased model, $\beta_2$ is the true coefficient of the omitted variable $X_2$ in the full model... |
Scenario: I have data comparing the number of tree stems in 30 forest plots between two sampling years (1992 and 2012). Each plot experienced hurricane damage between these 2 sampling years (in 1996) -- this damage was coded as being 0-100% of trees felled/damaged.
Interest: my ultimate hypothesis I'm trying to investi... |
After using inverse probability of treatment weighting (IPTW) on the variables of my dataset, there is still an imbalance in one covariate between the two groups. My outcome is binary (yes/no) and it is not a longitudinal study.
One example is:
library(WeightIt)
W.out <- weightit(treat ~ age + married + race,
... |
I'm working on getting a read out of a Logistic regression classification model (setup in Python via Scikit-learn's LogisticRegression() wrapped in a OneVsRestClassifier()). I got the confusion matrix running pretty quick, and after a decent amount of effort I got the PR Curve (with a lot of help from https://stackover... |
Im comparing two multidimensional MDS solutions, the solutions have the same number of dimensions. I don't think I can use the permutation version of procrustes analysis (commonly, PROTEST in R::vegan) because I doubt my two sets are exchangeable. I read that the sets must have similar covariance matrices to be exchang... |
Good afternoon,
I am trying to convert annual reported rates to daily probabilities. However, I have annual rates that only occur during certain months of the year. For example, I have an annual mortality rate of 0.72 and this rate needs to be converted to a daily probability of mortality across only 4 months (120 days... |
I am looking for the right approach to do a sample size calculation for the positive predictive value in a cross-sectional study. From external sources, I know the prevalence in the population of interest. I also have an estimate of the sensitivity and specificity of the test. My question is now: How many subjects do I... |
I am conducting a regression analysis on TNF-a in relation to a genetic marker. I performed a post-hoc power calculation using a software called Quanto. The mean(SD) of my outcome variable is 34(14). The Minor Allele Frequency of the genetic marker is 0.102. The Beta coefficient of the predictor from the regression mod... |
Suppose I have a conditional (or any) distribution as so:
$$
p(A \mid B,C,D)
$$
and in the text, I want to refer to the variables $\{A,B,C,D\}$ associated with that density (or mass). Is there a formal name or notation for this set? What is the formal way of referring to it? Is there a commonly used symbol?
It is not t... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.