instruction stringlengths 9 38.7k |
|---|
The sample variance is the minimum variance unbiased estimator and its variance is related to kurtosis
$$\operatorname{Var}(S^2) = \frac1n\left(\mu_4 -\frac{n-3}{n-1}\sigma^4\right)$$
Is there some theory that uses sample kurtosis to improve the sample variance estimate, in whatever sensible sense (MSE maybe?) ? It'll ... |
It is a well-known fact that the minimizer of the mean-squared loss (MSE) $$\min\limits_\mu \mathbb{E}_{X} \left(X - \mu \right)^2$$ equals the expectation of $X$.
Are there any alternative non-trivial loss functions $f\left(X, \mu\right)$ such that $$\arg\min_\mu \mathbb{E}_X f\left(X, \mu\right) = \mathbb{E}_X X?$$ A... |
I am trying to do a Fine & Gray competing risk analysis for breast cancer death in patients with breast cancer. I want to assess the interaction betweeen race and chemotherapy on breast cancer death.
My database is df2 and has all categorical variables. survival is survival time, and cod_breast is the variable containi... |
I'm doing a diagnostic observational study, where doctors in two different fields (emergency physicians vs radiologists) try to diagnose same patient (paired sample). The question we are trying to answer is if emergency physicians are non-inferior to radiologists in dagnosing a specific disease with ultrasound.
The out... |
I would be very grateful for a gentle sanity check on adjusting survival times in my comparison groups. The scenario: I am using Cox regression to calculate HR risks over some covariates of interest.
My population is observed for six months, starting from the index event when a patient makes a medical complaint. There ... |
What I am trying to do:
I am currently doing analysis on neuronal calcium imaging data.
In particular, I have two things:
A time series that represents the amount of calcium within a neuron
A boolean time series that encodes whether an activity from a mouse is taking place
I want to see if a specific neuron is activa... |
In a machine learning I've trained using standardization, do I need to re-standardize the values I'm entering to get new estimates? For example, I'm going to train a machine learning model to predict the foot number of a person's age height and weight, in this case, let's say I train by standardizing the age height and... |
What is the difference between polynomial data fitting and the regression model? The traditional regression used in LASSO is also just based on polynomial fitting, albeit linear. What is meant by "pure polynomial"?
|
I am trying to understand the use of the inverse transform sampling and I saw the following definition:
Let $X$ be a random variable whose distribution can be described by the cumulative distribution function $F_X$.
We want to generate values of $X$ which are distributed according to this distribution.
Generate a rand... |
I'm trying to calculate an effect size index where I need to pool 2 standard deviations calculated from correlated variables (pre-post treatment scores). Using the standard formula:
$$
\sigma^2_{pooled} = \frac{\sigma_x^2 (n_x - 1) + \sigma_y^2 (n_y - 1)}{n_x + n_y - 2}
$$
I'm not taking into account the correlation be... |
I have a project predicting sentencing outcomes based on several predictors. Database of about 800 people. Some people share the offence that their sentencing is based on (i.e., co-accused), so they need to be grouped (i.e., doing a multilevel model). There are 127 groups (many of which have 2 people, up to 11 people).... |
I would like to compare the performance of the Gasser Müller estimator with other estimators for estimating the the derivative $m'(x)$ of the regression function $m(x)$.
Let's say we have the following regression model,
$$
Y_{(i)}(X_i) = m(X_i) + \varepsilon_i
$$
where :
$\{X_i\} \sim U([0,1])$
$\{\varepsilon_i\} \sim... |
Theoritcal question here.
Suppose for a moment that I have two studies: one conducted in males, and one conducted in females. The studies are slightly different in terms of year of enrollment, but collected the same set of variables, and in the same way (basically they used the same exact questionnaire).
Now I want to ... |
I have a survey of nearly 900 people. I have found the percent that respond yes to various health related questions. I then separated the people by income of more than 25,000 dollars and less than 25,000 dollars and found the precent that indicated yes to the health questions. IT can be seen that people with an income ... |
I have 2 questions:
Why doesn't the 'tt' option in Coxph() in R estimate both a linear and a quadratic effect when you include "tt=function(x,t,...) x * I(t^2)" or "tt=list(function(x,t,...)x * t,function(x,t,...)x * I(t^2))" ? All I see in the output is tt(var), instead of tt(var * time) and tt(var * time^2).
How do... |
I've recently studied probability calibration and have investigated many examples and revisited old models of mine to find that they are all poorly calibrated. The idea of stacking also has been cast in a new light.
However intuitive the "calibration" process is, I find it hard to understand why even very simple models... |
I have been using sklearn's CalibrationDisplay and think it is pretty cool. One thing I am wondering, though, is how I could potentially take that curve and make it an interpretable score. For example, here is a simple model and calibration curve:
import numpy as np
import matplotlib.pyplot as plt
from sklearn.datasets... |
Let's say we have 10 sets of 1 to 4 values each. First we sample one value from each set, giving us 10 values. We then sample five of these. Lastly, we compute their average.
If one repeated this two-step subsampling and averaging procedure thousands of times, one would obtain a distribution of means. How would I go ab... |
Recently I noticed that some pytorch repos of papers use Learning Rate Scheduler and momentum rate Scheduler , a lot of momentum rate schedulers exist similar to LR scheduler ranging from Lambda, Cosine, Cyclic schedulers , one article that caught my eye that was very interesting was something called Demon (paper: link... |
I'm wondering if it is feasible to conduct a ordinal logistic regression on the following dataset.
I want to investigate if there is a correlation between the alcohol outlet density (as counts) and the city (in)compatibility (on a ordinal scale).
I have 27 region units of a 500m radius wherein I have counted the differ... |
Traditionally, to investigate the interaction effects between 2 variables one would simply add the interaction term to their model. C ~ A + B + A:B. I feel fairly confident with how to interpret these results and understand some of the intuitions behind how interaction effects might manifest in a graph of this model's ... |
How would you interpret this output:
anova(mlogistic1, test = "Chisq")
Analysis of Deviance Table
Model: binomial, link: logit
Response: obese
Terms added sequentially (first to last)
Df Deviance Resid. Df Resid. Dev Pr(>Chi)
NULL 7965 1030.38
sex 1 14.227 7... |
I have 10th, 25th, 50th, 75th and 90th percentiles of a population which is NOT normally distributed. On the other hand, I have a sample from that population and I want to test if its percentiles are equal to the population percentiles:
H0: nth percentile of sample = nth percentile of the population
I know I can implem... |
I am working on clustering text data (very short sentences) vectorized with tf-idf. The data are characterized by high sparseness and the presence of abundant noise (considered here as documents that I don't expect to belong to any cluster). I managed to make DBSCAN work relatively well on the data as I know that, give... |
I want to calculate the variance of the MLE of an iid sample $X_1,\dots,X_n$ if
$$
f(x)=\alpha x^{\alpha-1}, 0 \leq x \leq 1, \alpha >0
$$
The MLE is fairly easy calculated as:
$$
\hat{\alpha}=-\frac{n}{\sum_{i=1}^n\ln(x_i)}
$$
I think about deriving the density of $\hat{\alpha}$, and then calculating $E(\hat{\alpha}^2... |
When studying the effect of an exposure $T$ on an outcome $Y$, we can control for measured confounders $X$, but the treatment effect can still be biased by residual confounding due to unmeasured confounders $U$. One approach for detecting this kind of bias is to use a negative control outcome $N$ (e.g. here), which is ... |
I believe I understand the gist of what Fisher Information is, but I want to be rigorous and I am confused by notation. Also I believe I am masquerading mistakes by abusing the notation (I have studied statistics by myself from different sources, no teacher to point me my mistakes). I will try to state my understanding... |
I am reading the VAEs paper Auto-Encoding Variational Bayes. In their loss function:
they define reconstruction loss (second RHS term) as the expected value of the log p(x|z) wrt to the posterior of the prior. I understand that this expectation is the midpoint of the function because the posterior of the prior is a Ga... |
I have two samples I'd like to do a hypothesis test on. The sample proportions are:
$$
\hat{p}_1 = \frac{120}{4000}
$$
$$
\hat{p}_2 = \frac{9000}{300000}
$$
If I did a test of two proportions where the null is $p_1=p_2$, would there be issues because $n_1=4000$ and $n_2 = 300000$?
|
I'm creating a set of models predicting species presence and absence using binomial GLMs. I created a GLM model from some survey data, and I have made predictive maps for the current and future distributions of each species, with the predictors being rasters of present and future climate etc . Example:
Present
Future
... |
I'm new to stats and using GraphPad Prism9 to look at homoscedacticity of a Kruskal Wallis test. Just wondering if this is heteroscedastic because it's cone shaped to me? Also would this mean that the Kruskal Wallis test is void as heteroscadistic means the distribution between each group is not the same?
|
We would like to show that $\hat{\alpha}=(σ ̂_Y^2-σ ̂_{XY})/(σ ̂_X^2+σ ̂_Y^2-2σ ̂_{XY} )$ minimizes $Var(αX+(1-α)Y)$. Note that
I am confused about the terms in red, I don't know why I am not getting 1 in the result.
|
The entropy of a random variable $X$ is defined as $\mathbb{E}(-\log(f(X)))$ (where $f$ is the pdf of X, https://en.wikipedia.org/wiki/Entropy_(information_theory)).
Is there any general relationship between the entropy of $X$ and the possibility to "more or less accurately" predict the value of $X$ using some constant... |
I recently got some Uranium–Thorium dates back from a lab. They are reported with a ±2σ uncertainty. Several of the measurements are replicates from the same specimen. That is, a few pieces from a single rock (a single annual layer from a speleothem, by definition deposited during the same year) were analysed on the sa... |
I made a feature importance chart using the random forest algorithm.
I want to perform feature selection on survival data.
How could I use this graph to feature select?
event.1 event.2
AMOUNT 0.2455 0.0108
INSTALL_RATE 0.0535 0.0239
FOREIGN 0.0413 0.0640
PRO... |
Call:
survdiff(formula = Surv(time, DEATH_EVENT) ~ s_s, data = ss)
N Observed Expected (O-E)^2/E (O-E)^2/V
s_s=OverMedianSerumSodium 122 30 40.7 2.80 4.89
s_s=UnderMedian_SerumSodium 177 66 55.3 2.06 4.89
Chisq= 4.9 on 1 degrees of freedom, p=... |
When cox regression says that proportional hazards are assumed, does that mean proportional hazards across all variables?
I've heard that it is only within two variables. But how? If the cox regression can fit more than 2 variables, should it not be assumed between all variables?
|
The concept of overfitting is widely talked about but opinions on the determining factor for whether a network is starting to overfit seems to differ widely. I guess this is broadly combined with: "when should we stop training a network?"
The two common opinions I have seen are the following:
A network is beginning to... |
Im currently working on a meta-analysis of interventional randomized controlled trials.
In the protocol, I mentinoned that I will be using Review Manager 5 for both the analysis and assesement of publication bias.
However, after the analysis, I noted that there is asymmetry of the funnel plot, indicating potential publ... |
Is the 99th Quantile Regression model a robust model?
From my understanding, Quantile Regression is supposed to be robust in nature, but removing some outliers using IQR, the results obtained by 99th Quantile Regression Model is significantly different.
So, should we go for removing outliers in case of 99th Quantile Re... |
I've got data from a retrospective cohort analysis. There are two groups that differ by a certain baseline characteristic, who were all exposed to an event (surgical procedures). The outcome of interest is a continuous non-normally distributed variable (a medical index). In both groups, about 5% of the outcome variable... |
Hello everyone,
I need to work with the data presented above. This question involves a little bit of knowledge of Rstudio. I would (1) like to obtain total revenue PER product (ucp), and brand, (2) sum all observations from product and brands, (3) and then pick up a product (ucp) and brand with largest total revenue i... |
I built ARIMA model, and I got the autocorrelations as in the images:
However, I could not understand which one is for $p$ and which one for $q$ and why;
my result is that $p = 1$ and $q = 2$. Am I correct or wrong and why?
Also, is there other statistical formula for finding $p$ and $q$ instead of visualization of au... |
I am trying to replicate Table 11 of the paper of Glaeser et al. (2004) "Do institutions cause growth?" in R.
(And I'm quite new to the world of R)
I was already able to reproduce the first stage regressions of panel B with the same results as the authors. However, I don't understand how to continue to the second stag... |
I'm trying to interpret the lmer model output.
In particular, I am trying to explain 'HU mean' with pathology (which has 3 categories Healthy - HC- VSD), gender (M-F), and an interaction between these two factors.
Linear mixed model fit by REML. t-tests use Satterthwaite's method ['lmerModLmerTest']
Formula: `HU mean` ... |
Assume the following population:
If I draw many repeated random samples of size N from this population, their means should be distributed normally - according to the CLT. Here, I draw 100,000 samples of size N from the distribution above and calculate the mean for each of the samples. Why does this convergence to the ... |
I'm training a binary classifier for disease detection.
Because of my small amount of data (~1000 datapoints, 10% positive, 90% negative), I've realized that doing an 80-20 train-test split produces quite a lot of variance in my results simply based off the test set I choose.
So I want to do k-fold cross validation. Th... |
Consider three random variables: $$u_1, u_2, u_3 \;\; with \;\; E[u_j]=0 \;\; and\;\; Var[u_j]=\sigma^2_j\;\;for\;\;j=1,2,3$$
Here, we know the values $\sigma_1,\;\sigma_2$ and $\rho_{13},\;\rho_{23}$ where $\rho_{j3} = corr(u_j,\;u_3)$, but we do not have the standard deviation $\sigma_3$.
Can you come up with a comb... |
First of all im working with a project that is not mine and cointains 0 explanatios about why things were done and I fear some of them are just mistakes.
I found that for the trainig of a convolutional neural network with a from a pretrained model on the detectron2 platform, the split of train and test sets was done af... |
I am looking for references on K-Means applied to linearly projected features instead of to the original features, in the sense that both K-Means and the projection matrix are learned at the same time.
I am aware of deep learning methods that can do the same thing even for highly non-linear projections, but I have the ... |
This is for a student selected class project. I am examining incidents of when Wildlife hits an aircraft across the last three decades. The data was selected from population (N=392,341) data at random in excel using data analysis sampling. I was planning on doing an ANOVA originally until I realized my data is a freque... |
So I was currently going through various implementations of models and they set a large batch size of around 256 , running this is google collab is very memory intensive, so I decided to use a batch size of 4 with a gradient accumulate of 64 which theoretically should achieve the same performance, but I don't understan... |
Suppose we have sampled a Brownian motion $(B_t)_{t\ge0}$ at $0=t_0<t_1<\cdots$. How can we obtain a sample at the midpoints of $[t_{i-1},t_i]$ from those samples? I've read that this is possible by a Brownian bridge, but wasn't able to figure out how exactly.
|
I'm concerned with a Gaussian process $f(x)$ on a finite domain $x\in[0,L)$ with periodic boundary conditions. Naively using the distance after accounting for periodic boundary conditions to evaluate the covariance kernel $K=k\left(\left\vert x-x'\right\vert\right)$ fails: $K$ is not positive (semi)-definite. I'd like ... |
I'm using the gls procedure of package nlme in R. Is it possible to specify that two different correlation matrices (Ar1 to start with but also, compound symmetry, Toeplitz and unstructured) should be estimated for two groups of respondents, men and women? Thanks for any assistance!
|
In my experiment, participants had to make a series of decisions between different options. On each trial, they were presented with a different number of options to choose from, and each option varied along two dimensions: d1 and d2. For example, on trial t, a participant could be given the choice between [(d1:5, d2:2)... |
I'm new to machine learning and have made some experience with some basic dataset and now i'm exploring BTC data.
I'm asking is correct to shuffle data when the data are BTC, ETH or any other crypto?
What i mean is that the price of a stock or crypto increase or decrease in every candle with a specific time-frame.
Does... |
I am looking into the STS statistical test for random sequence.
There are multiple statistical tests for a random bit sequence and each of them produces a p-value or multiple p-value.
After the test finished, I have dozens of p-values for multiple tests and each of them distributes approximately uniform over $[0,1]$.
I... |
I am currently working on evaluating the results of an A/B-test. For this, I am also looking into some relevant post-test segments.
Overall, I have no statistically significant difference between control and test group. In my post-test segmentation, I have three types of segments:
Segment type 1 is employment types wh... |
Given $X_1,...,X_n$ are i.i.d standard normal variables, the sample mean of the squares is
$$\bar{X^2_n}=\frac{1}{n} \sum_{i=1}^n X^2_i = \frac{1}{n}(X^2_1+X^2_2+...+X^2_n)$$
For very large $n$, is the distribution of $\sqrt{n}\big(\bar{X^2_n}-a\big)$ best approximated by a standard normal distribution or chi-squared w... |
I'd like to know if a continuous predictor variable (sal) predicts a binary response (empty) in a logistic mixed effect model, but discovered there is a non-linear relationship between the predictor variable and the log odds of the response. My understanding is if this linearity assumption of logistic regression isn't ... |
I am running BayesSearchCV to optimize the hyperparameters of my machine learning model. This particular procedure allows the user to choose the surrogate model. The options are Gaussian Process, Random Forest, Extra Trees, and Gradient-Boosted Regression Trees. How should my understanding of the hyperparameter space g... |
I have 2 metrics, screen size and screen resolution. These are independent of one another but do probably correlate. I’m looking for a way of combining them into an overall “score” to use against other variables but i’m unsure of the best way to do it!
Edit: I think I can just multiply the numbers together?
|
Suppose I have a collection of paired samples $(X_i,Y_i)$, where $X_i\in\mathbb{R}^n$ and $Y_i\in\mathbb{R}$. We find that $X$ and $Y$ are not particularly correlated with one another, but when we divide the samples $\{X_i\}$ into clusters in a certain way (e.g. $k$-means), we find that there do appear to be correlati... |
I want to model the variable $Y$ (score 1 to 10) that is a composite of 5 ordinal variables $Y_{a:e}$ with the same levels (0 = "not at all", 1 = "a little bit", 2="a lot"). $Y_{a:e}$ has been observed on the same individuals (n=500) at 3 points in time; $Y_{a:e;t1}$, $Y_{a:e;t2}$ and $Y_{a:e;t3}$. The aim is to comput... |
I am trying to compute what the 2.5% probability values are for the two ends of the distribution? here is what I am doing so far.
import pandas as pd
from scipy.stats import ttest_rel
df = pd.read_csv("https://raw.githubusercontent.com/Opensourcefordatascience/Data-sets/master/blood_pressure.csv")
stats.ttest_rel(df['... |
I am performing a study where I perform inferences based on cross-validation metrics that use the entire dataset. My reasoning behind this is (a) my dataset is small and imbalanced and (b) this is purely for inferential research purposes, not a production model. I am also stratifying my folds, so that each fold has an ... |
I have been given data where the raw readings conventionally have the mean of "blanks" subtracted from every reading. Then the blank-subtracted readings are divided by the mean blank-subtracted reading for the "zero" treatment. This would be followed by nonlinear modeling (four-parameter log-logistic) of normalized rea... |
I have what seems to be a relatively simple question that I haven't been able to find a satisfactory answer to despite searching for quite a long time:
The classic way to analyze time series data seems to be some flavor of RNN. However, most examples of this I've seen have used an input of single time series to RNNs. M... |
So I do think my cox regression residuals are linear. Please correct me if they're not. My reasoning behind this is that the end of the martingale red line "drops off" simply because of few data points and thus, more weight towards the right side.
Would you agree? Also, if you wouldn't consider this normal, how would... |
Having read articles to try to understand Sufficient Statistics.
Sufficient statistics for layman
A sufficient statistic summarizes all the information contained in a sample so that you would make the same parameter estimate whether we gave you the sample or just the statistic itself. It's reduction of the data with... |
The manufacturers of a certain brand of electrical switches
claim that at least $80\%$ of the boxes, containing 12 such switches each, will have
no defective. Design a randomized test of exact size $0.05$ based on the number of
boxes, among a random sample of 8 examined, containing at least one defective
My Attempt
G... |
Trying to reformulate my question.
Let's say i have three statistics from a sample. I have their variances $s_1, s_2, s_3$ and standard errors of the mean $se_1, se_2, se_3$. They are all based on sample size $n$, all from the same population and same sample.
I have a metric based on a weighted combination of each of t... |
I have some categorical variables that can take values {a,b,c}.
I have a dataset of sequences of such variables
E.g.
x=[ (a,b,b), (b,c,a)...]
I would like to apply some basic autoencoder to this dataset.
I could derive some meaningful latent space representation by mapping each categorical value to an arbitrary input ... |
I saw this question "Storing a probability distribution without saving single values" on stackexchange and thought it deserved a statistical answer.
Example Scenario
I could see this problem arising if one would like to store a percentile, like P90, on a granular level, but would also like the ability to aggregate to h... |
I'm working on a multicenter prospective cohort study investigating the predictive accuracy of a sepsis score (qSOFA) to predict 30-days in-hospital mortality and using Stata 17 ME. The score has four possible values (0–3) and is considered positive when it is ≥2.
I'm trying to build a well-mixed-effect model to assess... |
Given $f(X_1 \mid X_1 + X_2) \propto \mathbf{I}(X_1 \leq X_1 + X_2)$ where $\mathbf{I}()$ is the indicator function,
and $X_1, X_2$ are independent random variables following $expo(\theta)$ with $\theta \geq 0$
Why can it be deduced that $(X_1 \mid X_1 + X_2) \sim U[0, X_1 + X_2]$ where $U$ is the uniform distribution... |
I am currently working on a project investigating the impact of investment on wage inequality, where wage inequality corresponds to the average wage in a sector compared to the average wage in the same sector across countries. The question I want to answer is if the sectors that invest increase their wage inequality. B... |
I was wondering if any of you could help with how I can somehow plot result from a signal detection analysis in r? I have used the psycho package and calculated dprime, beta, aprime, bppd and c for all participants in two conditions. But I'm not quite sure how to report the result in an proper manner. I would like to h... |
I have unit $\times$ time panel data, $x_{it}$. I have taken the time average for each unit: $$\alpha_i=\frac{1}{T}\sum_{t=1}^T x_{it}.$$ How would you calculate $\mathbf{Cov}(x_{it}, \alpha_i)$?
|
I am conducting logistic regression and got 0.1542 as pseudo R2, and it is based on Mcfadden's.
I've searched materials about this, because this is my first time that modelling logit models, and found that it has been mentioned 0.2~0.4 means 'excellent fit'.
Then can I think that it is very difficult getting high value... |
I am working on a probability problem to solidify my knowledge and running into some difficulty.
I have the following setup:
Let $W_{i}, W_{j}$ represent 2 i.i.d random variables, drawn from $N(0,1)$. $W_{i}$ and $W_{j}$ represent the individual skill of 2 chess players, $i$ and $j$ respectively.
Let $v$ ~ $Laplace(0,... |
Consider the Bernoulli random variable $Z$ that takes $z=1$ with probability $1/2$ and $z=0$ otherwise. A different random variable, $X$, is defined on $x \in [0,1]$ has the following conditional distribution:
$$
f_{X|Z}(x|z) = \left\{ \begin{array}{lc} 2x, & z=1 \\ 2-2x, & z=0 \end{array} \right.
$$
(A realization of ... |
I am working on a task in which I need to classify binary labels 0 and 1 properly (as close to perfection as possible). My final dataset (ready for classification) has input data with 141 features and binary labels. The original data is a time-series data generated using inductive sensor and the features are extracted ... |
I want to estimate as good as mathematically possible the necessary time ($t_n$) for processing a given input file.
The estimation should be a function of the current file size ($s_n$) and all the previous $(s_i, t_i)_{i=0\dots n-1}$ file size --- processing time pairs. The input files are of the same type.
Is it there... |
At the end of the cross validation of a multi layer peceptron, do we make the mean of the validation results of the last epoch of the model on each fold or do we make the mean over all the errors?
For instance, suppose i do a 3-fold cross validation ona neural network and i get
1st fold: 300 epochs and 0.5 of error in ... |
Consider the binary classification problem where class label Y ∈ {0, 1} and each training example X has 2 binary attributes X = [X1, X2] ∈ {0, 1}^2.
Assume that class priors are given P(Y = 0) = P(Y = 1) = 0.5, and that the conditional probabilities P (X1|Y ) and P (X2|Y ) are given as follows:
Assume you want to est... |
Is there a version of the Metropolis-Hastings algorithm where either
the proposal kernel; or
the acceptance function
might depend on the whole history (or at least a part of it) of the chain so far?
For example, the papers Adaptive proposal distribution for random walk Metropolis algorithm and On an adaptive version ... |
Im currently working on a meta-analysis of randomized controlled trials, which examine the use of a certain graft in certain surgical intervention. In my pre-specified protocol, I planned to perform a subgroup analysis based on the thickness of the graft.
So the subgroup analysis was planned to be having two groups onl... |
Goal: To find all critical variables that influence time to death so as to not record unneeded variables in future observations.
Call:
coxph(formula = Surv(time, DEATH_EVENT) ~ age + anaemia + creatinine_phosphokinase +
ejection_fraction + serum_creatinine + serum_sodium + hypertension,
data = HF)
... |
Would someone mind telling me if my working for the following problem looks reasonable?
An astrophysicist studying the expansion of the universe has a set of redshift measurements, each covering the same section of the Milky Way. If current theory is correct, redshift should be close to zero.
(i) Let $x_i$ be the $i$-... |
I've seen in multiple papers that use a relaxation of the Bernoulli distribution as defined in Maddison et. al (here it is referred to as Binary Concrete) and they say that a closed form solution for the KL divergence between two relaxed Bernoulli distribution exists, but I can never find the explicitly stated solution... |
When it comes to categorical variables, they should only be converted to dummy variables if the nature of the categorical variable doesn't have any sense of structure (such as: high, medium, low).
Meaning that a categorical variable that includes: Tea, Soda, Coffee, Water is a good example of a categorical variable tha... |
I have survey answers for a questionnaire that contains 8 separate questions, where each has a number of (categorical) choices, as well as data on the respondents' characteristics (age, professional status, etc..). The data is presented like this :
where hh stands for household, AGECHEF for agegroup, and the varc vari... |
I have a data set with 360 observations. I run a glm with a gamma family, and I want to show that I fail to reject the null hypothesis. Although the p-value greater than 0.05 is kind of showing that but I was asked to report the power of my test. I wonder if it is right to use cohen's d for multiple regression (f-test)... |
I have performed a study evaluating the diagnostic performance of a new test (T) (binary outcome) for a disease (D).
Logistic regression was performed with the disease state as a dependent variable, the performance of the new test (T), and a few previously published potential risk factors were used as the independent v... |
I have data that I would like to model with a product distribution (of two independent random variables). The product distribution is being adopted because there is reason to believe that the variable being measured empirically is a ratio of two variables (or the product of one variable and the reciprocal of the other)... |
Let a random variable with posterior distribution be given by $X \sim \textrm{Gamma}(10,12)$. This is the result of Jeffreys prior $\pi_J(\lambda)$ multiplied by the Likelihood of i.i.d. $X_1,...,X_n \sim \textrm{Exp}(\lambda)$.
Also, $n=10$ and $\sum_{i=1}^{10} X_i = 12$.
I'm trying to compute a one-sided Bayesian con... |
I wish to test whether a large number of observations $X_i$ follows an exponential distribution with parameter $\lambda=1$. I also wish to test this hypothesis exactly, and intend that if the observations follow an exponential distribution with a different parameter, the test should reject the null hypothesis given suf... |
I am learning about bayesian experimental design and confused about the "Bayesian" terminology. Multi-armed bandits are normally in the syllabus of bayesian experiments. But there are techniques like Thompson sampling which uses bayesian optimisation and there are also non-bayesian bandit algorithms.
So my question is:... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.