instruction stringlengths 9 38.7k |
|---|
In a recent conversation with one of the colleagues I was presented with a view that LASSO/Ridge regularization (trading bias for variance) renders coefficient estimates useless for interpretation, i.e. LASSO/Ridge coefficients can't be interpreted in the same way as OLS coefficients due to increase in bias. While I do... |
I would like to find a predictive density for target variable via multi-class classification. Suppose we are given a set of features $\mathbf X$ and continuous target $\mathbf y$. Replace each $y$ with a bin it belongs to and train a multi-class classification model.
Let's assume that our target distribution can be app... |
Suppose that I have the following data: $4,0,4,2,1,8,4,1,3,3,5,4,6,1,3$. How do we check if the data comes from a binomial distribution, say Bin($p,8$) for some $p$ or from some other distribution on $\{0,1,\dots, 8\}$? Any help is greatly appreciated.
PS: Though I know a bit of statistics, I do not have a stat backgro... |
I have a situation where there are 200 scenarios presented in group A, and 200 scenarios presented in group B, and I have a small panel of 4 domain "experts" choose between 3 options for rating the scenarios. They also happen to be randomized to see half of the scenarios in each group, so all raters rate 100 from each ... |
Context
Given there are 2 groups that can be modelled as a geometric distribution as follows:
\begin{align*}
f(x_i;p_1) &= p_1(1-p_1)^{x_i - 1} \; x_i = 1,2,... \; 0<p_1 <1 \\
f(y_i;p_2) &= p_1(1-p_2)^{y_i - 1} \; y_i = 1,2,... \; 0<p_2 <1
\end{align*}
Suppose that $p1 = p2 = p$. Plot the likelihood for the function fo... |
I'm trying to train (Skip-Gram) word embeddings on a dataset derived from a small piece of data (500 lines ~2500 words ~840 unique words).
I'm think I'm aware that this is too small of a dataset to get any useful results. However, when I train the model, I would've expected the loss to go to ~0, because of the small si... |
I know that mutual information is a measure for how similar two random variables are. There is plenty of information available about how to empirically determine mutual information empirically from two random variables that are scalars.
My question: Is there a definition for mutual information between randomly generate... |
I am trying to calculate the sum of two or more lognormal distributions represented by mean and standard deviation. However, I didn't find any literature that clearly mentions such a formula.
|
I'm conducting a study with the following ("hierarchical") design:
There are two measures for each participant (2 time points, pre and post the study's intervention). There are control and test participants, for one of currently two different groups, but there will be more in the future.
So that's a 2-by-2-by-2 design:... |
In the documentation of METAL, a software for meta-analyzing GWAS results, Φ is in the formulas.
Intermediate Statistics $Z_i = \Phi^{−1}(P_i/2) * \textrm{sign}(\Delta_i$) Overall P-value
$P=2\Phi(|−Z|)$
where $P_i$ is the overall p-value.
What does $\Phi$ mean? Doesn't seems like Phi coefficient.
|
As a non native english speaker and a naive student, I found difficulties in understanding what this means.
While studying a paper, I found that some log likelihood functions showed convexity property in that study.
There are nothing more about this property in that paper.
I spent some time to understand what this prop... |
I have a response variable $y$ and two explanatory variables $x$ and $z$, but there's a strong correlation between $x$ and $z$. I'm interested in how $x$ and $z$ influence the value of $y$ respectively. And all of those relationships might be nonlinear.
I'm now considering this solution:
First, fit z ~ x with GAM and g... |
Are there methods that estimate restricted mean survival time with Oaxaca Decomposition or something similar to Oaxaca Decomposition?
|
AIC is simply penalised log-loss, and log-loss depends directly on the dataset size. To create a model from data, missing data need to be excluded first. Assuming missing data are spread across variables, more complex models will tend to be built on smaller datasets, because more observations will need to be excluded. ... |
Suppose we have a random variable $Y$ that generates data $(Y_1,...,Y_N)$ for $N \in \mathbb{N}$ big, i.e. $N \geq 10'000$. The mean of the random variable $Y$ is $\mu = 0.52$ and the standard deviation is $\sigma = 0.002$.
We do not have access to the data $(Y_1,...,Y_N)$ directly, rather a device measures the outcome... |
I have to perform the classification of a categorical variable using R.
My model has 121 predictors (already filtered for possible importance) all of which are numeric. Many of these predictors are collinear with each other, since they are relative frequencies (which add up to 100) obtained by pivoting a certain catego... |
I am interested in whether it is ever logical to specify a random slope of a variable that is not listed as a fixed effect in the model. For clarity, I have provided an example below.
10 Participants complete a reaction time (RT) task identifying whether a sentence makes sense or not. Sentences are from two conditions ... |
I'm trying to confirm something I've tried to figure out about the posterior predictive distribution for Bernoulli vs. Binomial (and categorical vs. multinomial) random variables after a Bayesian analysis with a conjugate prior. Let's say I have this situation:
There's a process that involves yes/no classification and... |
I'm working through the examples for Cox proportional hazard models provided in http://www.sthda.com/english/wiki/cox-proportional-hazards-model, and I am on the last example labeled "Visualizing the estimated distribution of survival times". When I run the code posted at the bottom (garnered from the link), I get the ... |
I would like to do a meta-analysis and pool data for standardised incidence ratio (SIR). I have the estimates for SIR and the corresponding 95% confidence interval (CI) for all studies. The CI are calculated using different methods, some fisher's exact test and some using normal approximation.
I understand from this p... |
I was wondering if it is possible to train a model or algorithmn to identify a curve shape based on experimental data.
Say we have 3 treatments 0 mM sugar, 1 mM sugar and 10 mM sugar and three different bacterial strains: A (A.10.csv, A.1.csv, A.0.csv), B (B.10.csv, B.1.csv, B.0.csv) & C (C.10.csv, C.1.csv, C.0.csv).
A... |
My dependent variable is reading time. My two predictors are categorical.
I conducted a lmer model with the default family and the performance package indicated that the response distribution fits better with an inverse gamma family.
So I conducted a glmer model with the gamma inverse family:
And I conducted a glmer ... |
For a researchproject I would like to use the logistic regression model.
I look at the relationship between SES (categorial) and participation in training (dichotomous). Now there are several variables (e.g. age and sex) that can affect the correlation.
How do I best approach this (in SPSS)? Statistical analyzes are qu... |
I am doing an statistical study over ultra-marathon runners (100 km distance) where I have a large number of data points (race records) corresponding to the average race speed of different runners from different countries.
I want to respond to the following question: "what country has the fastest runners?"
I have group... |
I am doing experiments related to explainable AI. I have two BERT models - the standard bert-base-cased and a distilled prajjwal1/bert-mini that has around 14M parameters, so much smaller than the base-size BERT. Both are fine-tuned on the SST dataset. Both are fine-tuned for 5 epochs.
Among others, I use vanilla gradi... |
Consider a generalized linear regression problem where $EY=Z\beta$.
The Residual Sum of Squares (RSS) is $\text{RSS}:=\xi^T\xi$, where $\xi:=Y-\hat{Y}=\{I-Z(Z^TZ)^{-1}Z^T\}Y$ is the regression residual.
My first question is:
Why a small RSS indicates good linearity between $Y$ and $Z$?
Besides, we have:
$$E\xi=\{I-Z(... |
I am reviewing an article that includes a survival plot, with % survival on the y-axis and time on the x-axis. The y-axis goes from 0 to 100, but the two survival curves are both always above 90%.
I can see reasons for changing the y-axis to (say) 80 to 100: It will be easier to distinguish the lines and easier to see ... |
I have a data set where some extreme, but not nonetheless important observations are present which prompts violation of the linear regression assumptions of normality and constant variance. The assumption of normality I read here: Regression when the OLS residuals are not normally distributed, is of less concern as lon... |
I'm trying to calculate age-adjusted prevalence for a bunch of different chronic diseases from hospital data in a specific area and I'm having some difficulty. I have total country level population, total population for each state and total population for each region within each state. I only have the estimated age dis... |
I have a 3D data set data represents positions in X,Y,Z space. The positions are generated by a Poisson model. I would like to filter out outlier positions, i.e., positions that are farther than the estimated center given a certain criterion. What I do now is to fit the projections of the positions to a 1D Gaussian an... |
I'm currently writing a dissertation about the impact of IMF programs on economic growth, and as part of it I'm trying to control for selection bias.
I have my treatment variable which is whether a country was in an IMF program, the outcome variable is economic growth rates and some examples of the covariates are tax r... |
I try to forecast annual monthly price changes using annual monthly X changes. To choose the best lag, I run the VAR model and aim for the minimal AIC value. The problem is that the price is determined by different factors each month, so I have to do it for each month at a time. When I run VAR in the most basic way, it... |
For my thesis i want to perform a mediation analysis in a mixed model ordinal logistic regression.
y = survey data (ordinal variable)
x = year (2021 data compared to 2020 data)
mediator (m) = discrete count data
Data is clustered per school, and individual
I have looked into andrew hayes proces... |
I have 3 groups:
Intervention 1 (n=6)
Intervention 2 (n=9)
Treatment as usual (n=12)
And I have 2 time points (pre and post intervention)
What kind of test do you recommend? Thank you!
|
I have this plot where I found that the best degree of freedom is 8, as it minimizes the SSE when predicted from the training data. However, the graph does not go into the final 8th knot in the spline. Am I doing something wrong with how I am plotting? Or if I am not, what is happening?
xlims_sample2_test<-range(sample... |
Main question:
I have an imbalanced binary labeled dataset (6% positive labels) and two different methods of training a predictive model for binary classification (e.g. Tree Model vs. Neural Network), let's call them method/model A and B in this post. I am interested in comparing the performance of these models measure... |
I have never completely understood the theory behind why you need to have more subjects than levels in a RM ANOVA. For example, I was using the package "ez" to run an ANOVA, and got an error because I had a one-way RM ANOVA that had 24 levels and only 8 subjects. I knew I would get the error, but I would like to concep... |
Say I have a survey asking a single group of 50 participants to rank the importance of 10 different aspects of using a website.
E.g., How are important are the following when using a website:
How quickly the site loads
How easy it is to find what I'm looking for.
etc.
The scale is 1 (Extremely unimportant) to 5 (extr... |
Let $\{Z(\boldsymbol s):\boldsymbol s\in\mathcal D\}$ denote the Gaussian spatial random field on a spatial domain $\mathcal D\subset\mathbb R^2$.
Suppose that at $N$ locations, we have observations $\mathbf Z=\{Z(\boldsymbol s_1),\ldots, Z(\boldsymbol s_N)\}$. Consider the Bayesian hierarchical model:
\begin{equation}... |
I'm interested in creating a superlearner algorithm. Unfortunately, my situation is such that I have access to the predictions of submodels I'm interested in on new data, but don't necessarily have access to the OOB results of their original training data (or the training data). Is it still possible to train a linear r... |
I've been learning Gillespie's algorithm to simulate continuous time Markov chains. I understand how the algorithm is derived from the reaction probability density function
$P(\tau, \mu)$ = probability at time $t$ that the event $\mu$ will occur in the time interval $(t + \tau, t + \tau + d\tau)$
What I don't get is h... |
I am going to try to simplify the context of my analysis into an apples/oranges scenario.
I have 30 baskets, each with 10 fruits. The 10 fruits are made up of a number of apples and oranges.
Each fruit also has a number of dots on them.
I want to run a correlation between the proportion of apples in the baskets and the... |
Is there any literature exploring convergence guarantees of the MICE imputation method for missing data? In practice, the method seems to work pretty reliably with different regressor but I can't seem to find any theoretical justification for its relatively good performance / datasets on which it is likely to fail.
|
I have the datasets which may contain multiple patterns. The data needs to be classified based on grouping in the data. The figure below shows an example of the data. The circles around the data are manually drawn to indicate groups.
Any help to do this type of data classification using Matlab? Thanks.
|
Below you can find the problem that I am trying to understand. My main problem is to understand where do the reparametrization that they propose come from. Alternatively I have try to connect it with the constraint LS KKT solution but I do not see the connection.
$$
\begin{aligned}
& \mathbf{r}_t=\left(\begin{array}{l:... |
A while ago I read (probably on stata forums) that FE can be on a lower level than SE clusters, but not vice versa. For example, firm/household FE with industry/state SE are good, but doing state FE with household SE would be wrong.
Intuitively it seems to make sense. If treatment assignment is on a household level, sh... |
It is shown here that the optimization of a loss function with regularization,
$$\text{argmin}_b L(X,b) + c ||b||_p \phantom{aaaaaaaaaaaaaaaaaaaaaaaa} (*)$$
is equivalent to the constrained optimization
$$\text{argmin}_b L(X,b), \phantom{aaa}\text{under constraint} ||b||_p \leq r \phantom{aaaaaaaa} (**)$$
where $r \ge... |
The usual assumption of i.i.d. is made with such frequency that it risks being applied to things like difference of correlations for highly dependent (correlated) variables. To calculate dependent correlation probability Stinger 1980, pdf, online calculator is frequently cited (5181$\times$ on Google Scholar as of toda... |
Suppose one is testing multiple hypotheses and, for a given FDR, computes Benjamini-Hochberg adjusted p-values. Furthermore, consider the classifier defined by $f(p; t) = \{\text{True if } p \ge t; \text{else False}\}$ where $p$ is the p-value from the statistical test and the classes are "null hypothesis is rejected" ... |
Let's say we want to compare two probabilities $p_1$ and $p_2$, not necessarily referred to the same population. For example, $p_1$ may be the probability of getting a certain disease conditioned on having been vaccinated, and $p_2$ the probability of getting the disease for non-vaccinated people.
Common measures to co... |
What transformation, preferably an invertible one, accomplishes this? Thank you in advance.
I have come across one transformation. If X is our random variable, then Y=sign(lambda)*X+exp(X*lambda). Unfortunately, this transformation doesn't add skew to just a single tail as I would like.
|
I have two dependent variables that I will use in two separate models (namely math_score & language_score) and one independent variable (relative_power) that I will use in both models using Stata 14. The two models have the same sample size. I suspect there's endogeneity in relative_power so I add two instruments to ad... |
I have a linear mixed model with a random effect. The associated R code is
lmer(log_wmh ~ 1 + viscode * dx_official + (1 | PTID) + AGE + PTGENDER + PTEDUCAT)
What would be the most appropriate way to write the equation out for this model? I was a bit confused and would appreciate any clarification. Also, any insight o... |
$X_1,\ldots,X_n, i.i.d.$
$p=P\left(X>0\right),\theta=p\left(1-p\right) $
How can I find the U-statistics of $\theta$?
|
I'd like to run analyses using Rao-Scott Chi-squared test using svychisq to account for survey weights. It seems that statistic="Chisq" gives the Rao-Scott version, however, now that I'm looking at the documentation deeper, apparently there are other options that seems to accommodate low cell size (because statistic="C... |
I am a graduate student in imaging genetics. When I have a statistics questions and search online and can often find answers. However, I cannot cite User Generated Content. Can you suggest some reference books contain all the formulas for all the formulas of common statistics methods?
For example, I have recently read ... |
I want to estimate a staggered difference-in-difference (DD) with continuous treatment. The data looks something like this:
$$
\begin{array}{ccc}
Individual & year & CT_{i,t} \\
\hline
1 & 2000 & 0 \\
1 & 2001 & 0 \\
1 & 2002 & 0 \\
1 & 2003 & 0 \\
1 & 2004 & 0.3 \\
1 & 2005 & 0.4 \\
1 ... |
Large language models, such as GPT-3, BLOOM etc, can generate open-ended text. Say I want to prompt these models to answer a question. How can I compare the semantic similarity of the answer it provides me with a reference question?
Eg, if the prompt is, 'What should I eat for breakfast?', an example response that BLOO... |
I have two sets of moment conditions, one is IV moment with N observations but the second moment only has N_1 observations, N_1<N.
How to build the covariance matrix? Appreciate for any replies!
|
I apologies if I am asking a trivial question, this is something I used to do easily in college now I forgot everything.
I like to know how to estimate the expected value and variance of a mixture of Poisson distribution.
0.3*(((2^x)(e^-2))/x!) + 0.45(((3^x)(e^-3))/x!) + 0.25(((0.5^x)*(e^-0.5))/x!)
|
I'm a scientist but not a professional mathematician and in this question, I asked about a possible typographical error in an article on round-off error that I've been reading in the journal Analytical Chemistry.
The results presented in that article are said to rely on three properties of characteristic functions (cf)... |
If my p-values for all variables are not significant, does looking at/discussing the direction of variables even make sense?
|
What is the theoretical justification for using the square root of the sample size as the weight when combining z-scores in a meta-analysis?
Is this because the variance of the z-score is proportional to 1/n, where n is the sample size, so the inverse variance is proportional to n?
|
I'm working on a project involving large and evolving datasets and I'm interested in using incremental, online, or continuous learning algorithms in R. Can anyone recommend well-maintained R packages for implementing these algorithms? Additionally, any resources (tutorials, blog posts, papers, etc.) explaining their us... |
I don't have a lot of experience with multilevel models and Mplus, so I'm unsure if my approach is appropriate.
I would therefore be very grateful for any help and feedback!
I have data from an experiment.
3 groups of participants each went through 4 trials in which they watched instructional videos. After each trial, ... |
I am solving the problem of detecting swallowing and non-swallowing events from the audio. I labelled the data using Praat software by marking the swallowing and nonswallowing events. I trained the model using LibSVM with balanced dataset of 1841 instance of each and test with non-balanced dataset 369 non-swallow and ... |
I am currently working with the rugarch package to forecast the EU-ETS price. While I get reasonable results for the in-sample volatility, the forecast of the of the time series does not look correct at all:
Is this because of the low ar1 and ar2 parameter estimates? If so, is there a way to overcome this problem? I h... |
I’m trying to understand the interpretation of interaction terms, specifically in the context of GEE models. I’m familiar with them in conditional models, and am comfortable with marginal effects in the absence of an interaction, but the two together is causing me some trouble. I have illustrated an example below.
Take... |
I am a biologist with very limited statistics/mathematics background who frequently encounters the same problem when trying to analyse a specific type of data, but would like to finally begin to understand how I approach this properly. I will try explain the basis of the experiment and then describe the output I'd like... |
I am a beginner in ML modelling. I am working on Santander Customer Satisfaction Prediction competition and the evaluation metric is AUC. The dataset has 370 features and the target variable is TARGET with values 0/1. It dataset has rows around 75K.
I tried logistic regression algorithm which gave me the auc score of 0... |
I have extracted some triples from text using REBEL an information extraction technic. How do I automatically establish where these triples fit into my pre-existing ontology? How can I use the ontologies schema?
|
I have a sample (n=200) and I have the results of two in silico prediction tests. Results are continuous and very similar but I want to confirm this statistically.
I have done shapiro test to see if samples follow a normal distribution and p value of one sample was 1.73-e25 so, they dont follow a normal distribution.
W... |
I have a dataframe with 4 columns, corresponding to different emotions extracted with ML methods from one video. The dataframe describes one person, rows represent moments in time. Now I'm trying to mark dataframe as insignificant, if the detected emotions are almost-constant.
So, my H0 is: "any of the emotions is non-... |
I'm studying the cases in which the endogeneity problem arises in OLS regression.
Suppose we have the following population equation:
$y=\beta_0 +\beta_1 x_1 + ... + \beta_k x_k + \gamma q + \epsilon$
and say $E(\epsilon | x,q)=0$, such that: $E(y|x,q)=\beta_0 +\beta_1 x_1 + ... + \beta_k x_k + \gamma q$
Suppose $q$ is ... |
I have been reading about SEM and latent variables. Now it seems usually that a latent variable is a function of observed manifest variables. But is there a SEM where a latent variable is a predctor of an outcome? So in my example, we have outcomes (y1, y2), observed independent variables (x1, x2), one latent l1, and t... |
I have run a binomial generalised linear mixed model (GLMM) via the lme4 package in R. Then I have got the result for it. In the paper, I wrote this for the result: b = 2.23, SE = 0.59, p < 0.01.
However, I'm not sure if I need to find odd ratio for this? If yes, can you please tell me how to do it in R. And how I shou... |
I appreciate that similar questions have been asked and answered to this, but I think that my case is substantively different as the specific interpretation of the coefficient is not relevant.
I have a set of choice experiment results that I am using to calculate the 'Valuation of Travel Time' for the participants. The... |
I am using acceptance-rejection sampling to sample random variable $x$ according to distribution $f(x)$. The steps I followed are
First generated uniformly distributed random variable $x$ from 0 to $x_{max}$
Generated a second random number $u$ between 0 and $f_{max}$.
Then checked the condition if $u < f(x)$, If this... |
I have some 23 months of longitudinal data for around 22,000 users. Approximately 2,000 of those users received an intervention during that period - with the intervention occurring during any one of those 23 months. I have mocked up what this data looks like below:
The Period represents the usage for that month the Use... |
Kaiser's rule suggests the number of principal components to be included in an analysis by looking at eigenvalues. If I'm given standard deviations only, instead of eigenvalues, can I still somehow use the Kaiser rule?
This question was asked in a multivariate exam.
|
This is a dummy dataframe resembling my real-life data:
structure(list(cond = c("WT", "WT", "WT", "WT", "WT", "WT", "WT",
"WT", "WT", "WT", "WT", "WT", "WT", "WT", "WT", "WT", "WT", "WT",
"WT", "WT", "WT", "WT", "WT", "WT", "KO", "KO", "KO", "KO", "KO",
"KO", "KO", "KO", "KO", "KO", "KO", "KO", "KO", "KO", "KO", "KO... |
I have calculated true positive rate (TPR) for two tests. I want to report the % difference for test b compared to test a. This is very simple, however, I have gotten myself confused as to how to report this.
Example:
TPR for test a = 38/110 = 34.5%.
TPR for test b = 45/110 = 40.9%.
Which (if any) of the following stat... |
Dear statistics fans,
I am absolutely clueless in an analysis and hope you can help because I have nobody else to ask right now and got totally lost in four statistics books and a zillion tutorials over the past five weeks.
And here is an overview of what I am trying to do (also see toy graph for visual aid):
I try m... |
I'm trying to solve biochemistry problems (think protein folding) with DNNs. Are there 2D / 3D coordinate systems that are particularly well suited for deep neural networks (DNNs) to process?
For example, if we were training a DNN to predict gravitational attraction between two objects, cartesian coordinates would pres... |
I have a dataset where the primary result is the test results (a binary variable 0 or 1) from doctors. I want to see if a continuous variable X is going to affect the test result.
I think in this dataset, one row represents one test. But in this dataset, there are multiple rows from the same doctor, which means some do... |
From what I understood when we are doing PCA, we can work both with raw or standardised data, depending on the situation we're in. Is it true that the average of the eigenvalues is equal to 1 when we are working with standardised data? If yes, why?
|
I have a set of CT and MRI images that I aim to use for a classification task (disease presence: yes/no). The CT and MRIs do not correspond to the same patient but for a different set of patients (some have CT and some MRIs). Can I use a multi-input network in this case? Do multi-input networks should have 1:1 correspo... |
If I have 50 people randomly split into 5 groups of 10 people, I can rank the groups based on their combined weight. If I were to rank each person based on their individual weight, what would be the most accurate way to recreate the original group rankings without knowing the actual weights of the individuals, just the... |
This may sound simple but I'm lost. I have a simple experiment 15 controls and 15 treatments. 13 of the 15 controls were positive, but only one of the treatment samples was positive. This makes the SD = 0 so t-tests and the like fail. It's obvious there is a difference in the samples, but I have no test to verify.
I co... |
Following this post I was wondering how to plot or even communicate gene expression using relative quantification, meaning through transformation of cycle threshold values. In my particular experiment, a longitudinal study made up by 3 groups with 2 measurements I performed the following calculations:
dCt_post = Ct_tar... |
In this page from scikit learn, about GLM, the notion of unit deviance is introduced as loss function (from the machine learning perspective).
I want to know if there is equivalence between these two notions: unit devance vs. loss function.
For linear regression, there is equivalence, since the loss function is the sq... |
In Bayesian statistics, we may want to determine at what interval for example 95% of the posterior probability exists. For this we may want to use the Highest Posterior Density Interval (HPDI) which is [1]:
The HPDI is the narrowest interval containing the specified
probability mass. If you think about it, there must ... |
I have a sample $X = \{\mathbf{x}_i\}$, where each $\mathbf{x}_i$ has a set of discrete features $x_{j}$ and a value $y_i$. I'm interested in the distribution of the sample mean, $\bar{\mathbf{y}}$ - but wait, there's a catch!
I know the conditional probability distributions over each feature - or rather, for each feat... |
I am attempting to create a conditional inference tree using the R-package ctree for a dataset. Unfortunately, the sample size is small and the effects are weak. As the analysis is discovery-driven, we are rather liberal with the significance level and are not doing a Bonferroni correction within ctree. However, this a... |
I am new to Bayesian statistics. I have a basic idea about priors, posteriors and likelihood. I have a problem to model using bayesian statistics, and apply using python. ( this is a side project i do understand Bayesian statistics)
I have a sequential data set of students attempting questions, [0,1,1,0,0,m,1,1,0,m,0,1... |
I'm trying to run logistic regression to find whether or not a team will make the playoffs based on their previous year stats, player awards, W-L record, etc. In the NFL, there are 2 conferences and 4 divisions within each conference. Every division winner makes the playoffs, plus 3 wildcard teams (the 3 wildcard teams... |
A meta-analysis reports that the hazard ratio of a prognostic marker A for predicting mortality in heart failure is 12.5 (95% CI 6.2 - 26.1) and the hazard ratio of a prognostic marker B is 3.2 (95% CI 2.2 - 5.1). Can we conclude that A is better prognostic marker than B?
|
I am reading the paper Explaining the Gibbs Sampler(Casella, George, and Edward I. George. "Explaining the Gibbs sampler." The American Statistician 46.3 (1992): 167-174). I am stuck with example 2, Figure 2, as how the solid line was created from the equation $(2.9)$.
The paper can be downloaded here:
http://www2.sta... |
A plot of my data and fit:
ggplot(ahn.res, aes(rds,ror_rr)) + geom_point() +
geom_smooth(method = "nls",
formula = y ~ 1-exp(-A*x^B)+0.02799777,
method.args = list(start=c(A=2,B=3)),
se=F) +
ylab("y") +
xlab("x")
I'm interested in the max value of the second derivative ... |
Let's say that I train a neural network in a classic binary classification setting where all the training data has labels in $\{-1, +1\}$. From my understanding, if I train the network with a log-loss function and softmax output layer, the network outputs will essentially estimate $P(y \mid \mathbf{x})$.
How do I prove... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.