instruction stringlengths 9 38.7k |
|---|
My data:
df=structure(list(A = c(33.9166666666667, 5.16666666666667, 29.9166666666667
), B = c(12.6666666666667, 3.16666666666667, 20.6666666666667
), D = c(106.416666666667, 26.1666666666667, 196.416666666667
)), .Names = c("A", "B", "D"), class = "data.frame", row.names = c(NA,
3L))
People will buy two products and... |
I have constructed a neural network with training dataset.
The classification performance was quite good, but I wonder wehter there is a way to find that which inputs were more relevant in classifying test samples.
As the neural network is a weighted graph, I think calculating the whole weights of each input mean feaut... |
This is my first work, doing it for university. I have nominal, ordinal and numeric (or what they're called in English) variables. I think I finally figured out I have to name them discrete and continuous variables according to what exactly did I measure with them.
But is there any formulas to know which analyzing meth... |
I am currently trying to understand the proof of the Bessel's correction Proof of correctness 2 and there is one step in the demonstration that I do not understand:
$$
\operatorname{Var}(\bar x) = \frac{\sigma^2} n
$$
When we admit that:
$$
\operatorname{Var}(x) = \sigma^2 \text{ and } \bar x = \operatorname{E}(x)
$$
I... |
Can you provide an example of an MLE estimator of the mean that is biased?
I am not looking for an example that breaks MLE estimators in general by violating regularity conditions.
All examples I can see on the internet refer to the variance, and I can't seem to find anything related to the mean.
EDIT
@MichaelHardy pro... |
Let's say I have a multivariate dependent RVs $C_i$, and each $C_i$ is a function of RVs $X$ and $Y$. I know marginal distribution of $C_i$. In my case it is a truncated Laplace distribution.
I want to model or approximate the distribution of sum of $C_i$, i.e., $\sum_i C_i$. It looks like another truncated Laplace di... |
Imagine a Bayesian Network with binary random variables, with the structure of a binary tree of arbitrary height:
I want to find the minimum number of probabilities that I must store at depth k to describe the entire tree up to that point (i.e. the joint distribution)
Starting at depth 0 (the root node A), I only ne... |
The characteristic function for a Bernoulli distribution is
$$\phi(t) = (q+pe^{it}) \text{ where } p+q=1$$
I also know that the relationship between $\phi(t)$ and the pdf $f(k)$ is the Fourier Transform
$$f(k) = \frac{1}{2\pi}\int\limits_{-\infty}^{\infty}e^{-itk}(q+pe^{it})dt$$
However I do not see how to evaluat... |
My understanding is Cramer's V is a measure of the correlation between two discrete variables can be used as an effect size measure for a chi-squared test for observations in a two-way contingency table.
Following the answer given to this question, when trying to carry out such a test for a three-way contingency table... |
I'm looking at the data from Individual Aesthetic Preferences for Faces Are Shaped Mostly by Environments, Not Genes by Germine et. al., where members of twin pairs were presented faces in an order and asked to rate them. The data has rows corresponding to raters and the columns to faces. The subset that I focus on bel... |
Is it test-retest or just correlation between repeated measures?
|
We know that in a prediction task of predicting $Y$ given $X$, $g(x) = E[Y|X=x]$ is the best predictor if the loss function is mean squared loss (albeit not the only one), $E[(y-g(x))^2]$.
For which expected loss function (or functions), conditional variance $VAR[Y|X]$ is the optimal predictor?
I acknowledge the fact t... |
I want to visualize and plot a ROC using pROC in R. I found this code. However, I can't track the source to find the explanation. I read the pROC documentation but I could not find a backtransform example. Is backtransform used right in this code?
# XXXX = a given species
glm.fit3 = glm(XXXX~STRATUM1+STRATUM2, data=myp... |
I wanna make t-test for effect of gender, another t-test for effect of age, one-way ANOVA for effect of education and MIXED ANOVA (3x8) for another effect? Should I use Bonferroni corection? All is on same dependent variable.
|
I have several regression models as below:
$Y_1 = \beta_{11} X_{11} + \beta_{12} X_{12} + \epsilon_1$
$Y_2 = \beta_{21} X_{21} + \beta_{22} X_{22} + \epsilon_2$
$Y_3 = \beta_{31} X_{31} + \beta_{32} X_{32} + \epsilon_3$
$Y_4 = \beta_{41} X_{41} + \beta_{42} X_{42} + \epsilon_4$
$Y_i = \beta_{i1} X_{i1} + \beta_{i2} X_... |
I am running a mixed model on something akin to this data:
df<-data.frame(stage=c("a","a","a","a","b","b","b","b","c","c","c","c"),
nematode=c("fn","fn","bn","bn","fn","fn","bn","bn","fn","fn","bn","bn"),
id2=c(1,2,3,4,1,2,3,4,1,2,3,4),
value=c(1,0,0,2,3,1,1,2,0,0,0,2))
And fit this mixed model:
stage.id <- function(x... |
$X$ is a random variable with unknown distribution. A number of experiments are conducted to estimate $X$. Each experiment has a different reliability measure in estimating $X$. These $n$ experiments resulted in following sample set $\{x_1, x_2, x_3, ... , x_n\}$ with corresponding non-zero weights being $\{w_1, w_2, w... |
Let $T_i$ is the survival time for individual $i$ $(i=1,2,\ldots, n)$ and $C_i$ be the time to censoring. Let $U_i=\min(T_i,C_i)$. And $\hat S(U_i)$ is the Kaplan-Meier estimator for the censoring distribution. Suppose $R_i$ and $Z_i$ are two indicator functions. Also, $p$ is a probability. Consider the following estim... |
I’m trying to use caret for glm model:
lrFit <- train(IsPrematureBirth ~ .,
data = training,
method = "glm",
trControl = trainControl(method = "repeatedcv", number = 10, repeats = 5))
However it returns warning like:
In predict.lm(object, newdata, se.fit, scale = 1, type = ifelse(type
== ... : prediction from a... |
I am looking at an experiment with 5 factors (4 numeric and one nominal) with three levels for each numeric and 2 levels for the nominal. Instead of the 162 runs, I am interested in a small design (30 runs) using a specific postulated model for the response surface. Using the AlgDesign library in R I am able to generat... |
I hope you can help me with a question regarding Monte Carlo simulations. Though reading about this topic quite a bit, I didn’t find a good answer to my question.
I am working on the seasonal changes over time of the individual reproductive success (RS) components of a bird species.
I have 6 different RS components (f... |
I try to figure out the relationship between bike rental and some explanatory factor. The model I'm using is log negative binomial model.
Here is the data:
'data.frame': 731 obs. of 16 variables:
$ instant : int 1 2 3 4 5 6 7 8 9 10 ...
$ dteday : Factor w/ 731 levels "2011/1/1","2011/1/10",..: 1 12 23 26 27... |
I am using bivariate normal distributions as an example.
Using independence_test() in R, I can tell if two bivarate distributions have different means. The null hypothesis that their means are the same is rejected in the example below.
library(coin)
library(ggplot2)
library(MASS)
# Generate a vector of two correlated... |
I'd like to compare logistic regression models using the BIC. I have 600 data points, but only 30 of these belong to the class of interest. To calculate the BIC I need to know my sample size, $N$.
In my case, is my sample size 600 or 30? Should the BIC calculation use the total size of my dataset (600), or just the nu... |
I have used a clustering algorithm (ClusterONE) that uses 'cohesiveness of nodes' as a measure to find protein complexes in a PPI network. http://www.paccanarolab.org/clusterone/
Since I do not have a gold standard dataset to validate the results from this algorithm, I believe I should be using internal validation indi... |
Let us say we define telepathy as mental awareness of existing physical data without using physical senses. I would like to determine the existence of such ability in a statistically significant way. I am neither a statistician or mathematician so would like to know how proof of the following conditions would be statis... |
I am analysing data set that contain information about one user file creation proces in a two year period. Data set contain date stamp, file size, owner etc. I am using Poisson distribution for number of files (since I monitor period from 08:00 AM - 04.00 PM and number of generated files can be quite large). Inter_arri... |
Density distributions add by convolution, and the result is also a density distribution. So writing this in the time domain, w.l.o.g., the question becomes how do we take a faster gamma distribution:
${\mathrm{GD_{fast}}}\left(\mathrm{a} ;\ \mathrm{b}; \tau \right)=\left\{\begin{array}{cc}\hfill \frac{{\mathrm{b}}^{\ma... |
I would like x (a 100 x 1 matrix, each element must be non-negative) which minimizes the following;
$|| Mx-p ||^2 + λ xS x'$
where λ, M (a 10 x 100 matrix), p (a 10 x 1 matrix), and S (a 100 x 100 matrix) are specified.
I have already tried function "pcls" in a R package "mcgv", but I received an error message saying "... |
Let's say I have an undirected graph of students and their friendship ratings like in the following format:
Person 1 (Student ID) Person 2 (Student ID) Strength (Out of 5)
A B 5
K E 3
The data is simple, but the problem is that my da... |
The analytic gradients of log multivariate normal distribution wrt mean and covariance matrix can be found at StackExchange post and The gradient of the log-likelihood of normal distributions.
I tried to use numerical differentiation (e.g., forward difference) to obtain the gradients by the following MATLAB code:
% a... |
I found that the code for computing mse for multivariate regression is as below in matlab:
perf = sum(sum(e.^2)) / numel(e);
where es are residuals.
That is kind of awkward for me because the more you have responses columns the more your mse error would be.
My question is that if we account for the number of response... |
I have a list of electrical feeders. I want to cluster them by their topological characteristics: voltage level, total length, % of underground cable, state of the neutral.
I first made a manual clustering by dividing the feeders in two groups, which are defined for their voltage level (15 kV and 20 kV). Then I applied... |
how to describe the purpose of calculating the OCP in a paper?
|
I am going through the 2 way anova steps provided by minitab. But I just can't get the answer for SE Mean as shown in this website (http://support.minitab.com/en-us/minitab-express/1/help-and-how-to/modeling-statistics/anova/how-to/two-way-anova/interpret-the-results/key-results/). Can I ask how is it calculated ? I us... |
I'm building ARIMA models for some wind/waves data. I'm building a separate model for each variable.
Two of the variables that I need to model are wave and wind direction. The values are in degrees (0-360°). Is it possible to model this type of data where the value interval is circular? If not, which class of models is... |
In the tutorial Parametric and Nonparametric Machine Learning Algorithms it says that parametric classifiers are faster than non-parametric classifiers. The reason that non-parametric classifiers are slower is because they often have far more parameters to train.
What else could cause this to be true?
|
I have some categorical data that follow an unknown true multinomial distribution $p$ and a model with known multinomial distribution $q$.
I want to estimate the KL divergence between $p$ and $q$ from the data:
$$
\text{KL}(p||q) = - H(p) + H(p,q)
$$
where the first term is the entropy of the data and the second term ... |
I'm an amateur in statistics. I was reading a paper in which it is mentioned that
A model gives high out-of-sample likelihood.
What does that mean? What is exactly "High-out-of-sample likelihood"? What would be the simple explaination of it?
|
Let assume that Random Variables (RVs) $X$ , $X_{1}$ and $X_{2}$ have i.i.d. uniform distribution over [0,A]. Let assume $D = Min( X-X_{1} , X-X_{2})$ and after each experiment, right most of RVs $X_{1}$ and $X_{2}$ moves to the position of RV $X$ and other remains fixed. RV X generates on each new experiment. How I co... |
I am having a problem with choosing an appropriate test for the following data (I won't put them here, just describe them):
The experiment is on the effects of reactive oxygen species on samples of phytoplankton. I had one control and three treatments. I can use one-way ANOVAs to assess the between treatment difference... |
I am using Logistic Regression (LR) to obtain Coronary Artery Disease CAD probability equation. The data set has 16 candidate predictors, all continuous. There are two groups, CAD patient group (70 subjects), and an age-matched control group AMC (~ 70 subjects). I have a feeling that absence of young healthy control gr... |
I am trying to use glm(family = binomial(link = 'logit')) for a classification task with 14 classes. I know that logistic regression is used in R for binary classification and as a result it outputs the probabilities for the predicted value being either 0 or 1. But is it possible to also use it for a non-binary classif... |
$ X_1 + X_2 + .. + X_n = 1 $
$X_i$ is drawn from same distribution and they are
restricted to [0,1] range , what distribution do they obey?
|
According to this paper: A Comparison of Personal Name Matching: Techniques and Practical Issues
several techniques are possibile in personal names matching, that is the matching of names like ‘Gail Vest and Gayle West, Robert and Bob, or Dave Bourget and David F. Bourget etc.
Those techniques will have different resul... |
I am performing a Bayesian multivariate regression, and therefore I have to construct the prior and the subsequent posterior.
But the paper that I am using as a reference, uses a "Uninformative prior", and moreover, gives me directly the expression of the posterior.
So what I did, was just drawing from the posterior di... |
I am trying to understand the derivation for the unbiased estimate of the population variance from a random sample. The intuition makes sense to me (if I'm understanding correctly). Unless $\bar{x}-\mu=0$ your difference measure is going to be off by $\bar{x}-\mu$. So to estimate the expected discrepancy we just nee... |
I'm trying to figure out if this common pseudo R-squared formula is acceptable for the GLM I am running. Here is the code and formula:
m1<- glm((AdjustedActivity3+1)~HDtype, family = Gamma(link = log), data = q2)
McFaden's pseudo r2 formula:
1-(m1$deviance/m1$null.deviance)
I wonder: does the Gamma family have a spec... |
I am doing feature selection with wrapper method on microarray datasets. I have read several papers and answers here about cross-validation (CV) evaluation on feature selection. Especially the answers here, here and here are very useful. I know it is more robust to use nested CV, so I implemented it with 10-fold CV man... |
I am using a deep neural network in order which consists of: 1i nput layer, 2 hidden (dense) layers, 2 dropout layers (right after each dense layer), 1 softmax classifier (output).
The cost function is the categorical cross-entropy with a regularization term over the weights W, which helps in reducing the number of con... |
I'm doing some research about fertilizer and the effect on mitosis. I got the following results(simplified):
╔═════════════╦═══════════════╦════════════╗
║ phase ║ without fert. ║ with fert. ║
╠═════════════╬═══════════════╬════════════╣
║ interphase ║ 400 ║ 200 ║
║ prophase ║ 30 ... |
According to the EBMT, Non relapse mortality (NRM) is the time to deaths without relapse/recurrence (after for example a stem cell transplantation for leukemia.). Deaths from any cause without prior progression are events. Events related to the disease such as relapse or progression are competing events, loss to follow... |
According to the example on page in the text book, the graph of documents is as follows:
$1\rightarrow2, 3\rightarrow2, 2\rightarrow1, 2\rightarrow3$ with $\lambda = 0.5$ which would form an adjacency matrix as follows:
Then if we multiply the $\lambda$ by $$A = \begin{bmatrix} 0&1 &0 \\ 1&0 &1 \\ 0&1 &0 \end{bmatrix}... |
I have come across a somewhat unusual (I think) estimation problem. I have two "coupled" linear regression models,
$$Y = a + b x + \epsilon, \quad Z = c + d x + \nu$$
where $Y,Z,\epsilon,\nu$ are random variables and $a,b,c,d$ are sought parameters. The twist is that the common independent variable $x$ is unobservable;... |
Can I have multiple interactions with the same dummy? For example,
$\newcommand{\dummy}{{\rm dummy}}\dummy =1$ if $x - {\rm mean}(x)$. Can I have:
$$\hat{y}=\dummy + x_2+ x_3 +\dummy\times x_2 +\dummy\times x_3\quad?$$
|
When using the Kaplan Meier estimator function in MedCalc, medcalc gives me the the survival proportions at each observed timepoint as well as the standard error for that proportion, so I can for example say "At 2 years the overall survival is 87% with a standard error of 7%., p = 0.06"
Is there an easy way to calcul... |
Dataset contains:
-8 dependent variables (not repeated measures, all scaled)
-2 independent variables (nominal: 2 levels, ordinal: 3 levels)
IBM alludes to a very simple "just run a post-hoc" solution here however, being that my categorical IV only has two levels, SPSS won't perform a post-hoc.
I would like to report ... |
In reinforcement learning, our goal is to optimize state-value function or action-value function, which are defined as following:
$V^{\pi}_s = \sum p(s'|s,\pi(s))[r(s'|s,\pi(s))+\gamma V^{\pi}(s')]=E_{\pi}[r(s'|s,a)+\gamma V^{\pi}(s')|s_0=s]$
$Q^{\pi}(s,a) = \sum p(s'|s,s)[r(s'|s,a)+\gamma V^{\pi}(s')]=E_{\pi}[r(s'|s,a... |
I have two variables say $X$ and $Y$. The correlation between $X$ and $Y$ is $-0.03$. I've a dummy variable which is one if a specific event (exogenous to the variation in $X$ and $Y$) happens (e.g. $d_t = 1_{\{t \in A\}} $, where $t$ is a particular observation). $d_t = 1$ 50% of the time.
I'm running a nonlinear regr... |
Christmas is coming and I would like to make a statistics-themed gift. The recipient bought and liked How Not to Be Wrong by Jordan Ellenberg (btw, I like that book too). He also liked The Signal and the Noise, even though he found it a bit light on math. Thus I'm looking for something like these books, i.e. statistics... |
I have two time series data, $y$ and $x$. Suppose I want to forecast $y(t+1)$ from previous values $y(t)$, $y(t-1)$, $x(t)$, $x(t-1)$. I want to use an elman RNN.
From the examples given in the original article "finding structure in time", the number of neurons in hidden and context layer are the same. First question: ... |
What is the loss function of the Gaussian maximum likelihood estimator in the classical linear regression model?
I see a question asking this, but it seems that we never mention loss function when talking about MLE...
Here is the question:
|
I'm reviewing for my final exam and this question was asked: (help with formatting please, I'm new)
The logic all makes sense to me, but their conclusions in part e and f are either wrong or really confusing me.
For example, in part e, given that the null hypothesis is a "less than or equal to" one, that means that t... |
We did an intervention to reduce the frequency of use of a certain type of treatment and now I want to compare the data pre vs post intervention.
For each month I have the number of treatments per 1000 patient visits (because the monthly number of visits fluctuates). I have 6 months of pre-intervention data and 6 mo... |
Suppose a random sample of size $2$ is obtained from a distribution that has pdf $f(x) = 2(1-x), 0 < x < 1$ and zero elsewhere. We want to find the probability that one sample observation is at least twice as large as the other
this question doesnt seem too complicated but I'm having a hard time setting double integr... |
I have population, and I need to find a sample size using the equation
MoE = 1.96*/sqrt(p(1-p)/n * (N-n)/(N-1))
I know all values except n (obviously) and p...I am supposedly able to get a value of p from this information
Calculate the required sample size that would need to be distributed among survey interviewers i... |
I'm having trouble reproducing the results of R's gbm() function (from the gbm package) on a minimal example. What am I doing wrong?
library(gbm) # http://www.saedsayad.com/docs/gbm2.pdf
train <- data.frame(
X1 = factor(c("A", "A", "A", "B", "B")),
X2 = factor(c("A", "A", "B", "B", "B")),
Y = c(0, 1, 3, 4, 7)
... |
A cook makes plum puddings for Christmas. He stirs 6 coins into the pudding mixture thoroughly before dividing it into three equal portions. What is the probability there are 2 coins in each pudding?
The answer is 10/81, but I cannot work out how to arrive at this answer.
What I worked out so far:
A = pudding A has ... |
I have the following problem:
A truck transports oranges. Each orange has a mean weight of 85g and a sd of 9 g.
If the truck transports 2000 oranges what is the probability that the total weight is greater than 175kg?
Now suppose that there are 3400 oranges and the total weight is 255kg. What is the probability that th... |
I'm trying to see whether the number of salesman per customer entering the store affect the sales amount using a simple OLS regression. Which one is a better model to test the hypothesis? Can you also tell me why?
Model 1:sales= B1+ B2(salesman/customers entering the store).
Model 2:sales=B1 + B2 *salesman + B3 * ente... |
I was wondering if Ridge and LASSO shrinkage parameters (I am referring to the lambda in the canonical loss function) are functions of the number of features if one is targeting a "constant" shrinkage level?
An example is: let's suppose I determine my optimal shrinkage parameter to be some number x for a set of 4 featu... |
I am trying to understand the application of Chi-Squared test for independence between predictor and response variables as it applies to feature selection in machine learning and exploratory data analysis. I understand that there are few types of Chi-Squared test for independence.
However, I do not understand what exa... |
Let $\{X_1,\ldots,X_{n_1}\}$ and $\{Y_1,\ldots,Y_{n_2}\}$ be sequences of independent and identically distributed random variables, such that $EX_i = \mu_X$, $VX_i = \sigma^2<\infty$, $EY_j = \mu_Y$, $VY_i = \sigma^2$ and $X_i$ independent of $Y_j$.
If one wants to test whether or not $\mu_X = \mu_Y$ then one of the ... |
I'm currently running a Cox proportional hazards analysis on my data to look at outcomes for cancer survival. I'm looking at variables such as cancer type, martial status, gender etc. For some reason when I put in all of these variables together in the SPSS model, I get different hazard ratios than when I put them in s... |
Despite the basic similarities like both of these model the probability of success rather than modelling the response variable directly; I believe that there are more reliable answers which point out the differences and similarities between these models.
One difference being, in logistic one can use different type and... |
It is a common way to use filter methods for feature selection, and then use other classifiers for prediction with reduce features.
But is it also possible to use embedded or wrapper methods for feature selection, and using other classifiers for prediction?
For example, feature importance ranking can be acquired by usi... |
I have a logistic neural network with binary output. Of the 2 outcomes it attempts to predict, the first is very likely (occurring 90% of the time) such that my neural network will only ever predict this first outcome, albeit with a different level of certainty (about 86%-94%).
However, the second outcome, when it does... |
I built a binary classifier using logistic regression. But I can't seem to rationalize this in my mind. After cross validation, the model's AUC is 0.9003. But, as a sanity check, I ran a GOF (goodness of fit) test using Hosmer-Lemeshow test. What I found was that the model did not fit the data well at all!! (the p... |
I have a 2 x 2 x 2 x 2 four-way ANOVA. IVs are A, B, C, D.
The four-way interaction is not significant, and only one three-way interaction, A x B x C, is significant.
In addition, 2 two-way interactions are significant:
(1) B x D
(2) A x D
In sum, D doesn't participate in any significant three-way interactions, but it'... |
I am reading 'Data Analysis for the Life Sciences' and came across a small section touching upon what I believe relates to distance correlation. I am new to this concept and would like some help understanding it. I don't know how the author arrived to the 3rd and 4th equation from the 2nd equation. I tried multiplying ... |
Suppose we have
1) a stochastic Linear discrete-time Model given by:
${x_k} = A_{k-1}{x_{k - 1}} + {v_{k - 1}}$
, where ${v_{k - 1}} \sim N(0,\sigma _v^2)$ and $A$ is generally a known matrix.
and 2) a stochastic nonlinear discrete-time Model given by:
${x_k} = f_{k-1}({x_{k - 1}}) + {v_{k - 1}}$
, where $f$ is a som... |
I would like to compare the slopes of multiple logistic regressions, like an ANCOVA. Can a logistic regression even have a "slope" ? My regression lines themselves appear quite linear.
My dependent variable is binary (active vs. not active), while the independent variable is continuous, and there are multiple (6) level... |
https://stats.stackexchange.com/a/3374/92071 - In PCA, the components are actual orthogonal linear combinations that maximize the total variance. In FA, the factors are linear combinations that maximize the shared portion of the variance--underlying "latent constructs".
Now, I understand that eigenvalues represent th... |
I recently started reading about sufficient statistics. I have the following questions:
1) Is sample mean a sufficient statistic for Laplace Distribution (aka Double Exponential) if we already know the scale parameter?
2) If not, is this also related to the fact that it is not an efficient estimator of the mean/locatio... |
I'm doing association analysis and I'm using a Chi-Squared test on a 2x2 contingency table.
The usual definition of the Chi-Squared test is given e.g. here and here, the term in the denominator is usually the same as the term on the right side in the bracket in the numerator.
So when it's used for analysing the strengt... |
This might be a rather trivial question, but I cannot seem to figure out how to do this in R. I have estimated a linear model for my time series, and modeled the residuals of the model using an ARMA model (a MA of order 2), as follows:
Time<-1:length(time_series)
linear_model<-lm(time_series~Time)
ma2_resid<-arima(li... |
In glaucoma management, we study the trend of a global index variable representing the entire visual field of a glaucoma patient. This concern the Mean Defect of visual sentitivity (=MD), expressed in decibels plotted against time (years). This is calculated as a regression analysis of MD vs time.
For practical purpos... |
I have a data set of items, their attributes and prices. So all categorical except the price. I want to build a model that can tell me if an item, with the same exact attribute, is extremely expensive or not.
The items vary in terms of size, location and material with affect the cost. So there are many items and many ... |
I am a Danish medical doctor doing multiple regression on a clinical study, but I am running into some challenges as both independent and dependent variables have been log-transformed due to skewed distribution.
It is not too hard to find information online when it comes to interpreting my log-transformed results in a... |
I am using HMM to visualize drinking gestures of different container types.
I began training HMM with one sequence corresponding to one container type, but I want to visualize it with python now with different container types.
How can I map different sequences in one model?
For the training data do I have to insert the... |
Assuming English words are in Pareto (Zipf) distribution, when applying a log-linear model, should it still apply Gibbs measure of the maximum entropy condition, or one can change it to the Pareto version?
|
I am working on a classification problem with a highly imbalanced dataset. The ratio background to signal is about 20.
I trained an xgboost model. The ROC curve looks perfect and ROC_auc is also almost perfect 0.99.
But the BDT response or probability to be[ a signal for a signal (training and test sets) looks very in... |
Consider the following Matlab code:
close all;
clear;
clc;
rng('shuffle');
nbrOfSamples = 100000;
nbrOfsubsets = 10000;
samplesPerSubset = floor(nbrOfSamples / nbrOfsubsets);
mu = [2,3];
sigma = [1,1.5;1.5,3];
rawsamples = mvnrnd(mu,sigma,nbrOfSamples);... |
Nature published this year the following paper: Evidence for a limit to human lifespan1, in which the authors argue their "results strongly suggest that the maximum lifespan of humans is fixed and subject to natural constraints."
One of this paper's statistical analysis has been panned at some sites already, including ... |
Let $X_1$ and $X_2$ be two independent exponential random variables with the PDFs $f_{X_1}(x_1)=\lambda_1 \exp(-\lambda_1 x_1)$ and $f_{X_2}(x_2)=\lambda_2 \exp(-\lambda_2 x_2)$.
Let $X= \frac{X_1X_2}{X_1+X_2+a}$ be a r.v. for which I want to derive the CDF, where $a$ is a positive constant.
In other words, I need to ... |
I have several sets of ranking lists made by 14 judges. Each set represents a number of videos that have been ordered with respect to a particular characteristic. Moreover, the videos are the same for all ranking lists.
To compare those rankings I calculated a correlation matrix for each set (containing the spearman co... |
I'm working on paired data, of which absolute values plotted over time, show periodicity with varying peak heights as shown in the following graph:
The data represent the absolute distance between two feet, so peaks are maximum steplengths.
Both the blue and red line belong to the same participant that moves in differ... |
I'm incorporating a Bayesian Model Averageing(BMA) approach in my research and strapped in trapped in the estimated of Pr(theta|D). Professor John K. Kruschke(2014)'s book in chapter 10 offers an example to compute model posterior probability using hierarchical MCMC, but I do not know how to set the index value of mode... |
I'm doing my project about UFOs. I computed the correlation between population (X)~observation (Y) (UFO), and I got this graphic:
Afterward, I ran the cor.test() function in R which told me:
t = 12.92, df = 49, p-value < 2.2e-16,
95 percent confidence interval: 0.7966971 0.9295809,
sample estimates: cor = 0.8792381
C... |
I want to build a neural network over a data set. My idea is to use cross-validation on a training set to select the "best" neural network (and evaluate it on a separate test set) and to use nested cross-validation to make some statistical predictions. I'd use nested CV to plot bias and variance of my grid search's hyp... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.