instruction stringlengths 9 38.7k |
|---|
At 8:30 of this video Andrew Ng mentions that the cost function for stochastic gradient descent (for a single observation) for logistic regression is
$-y_i \log h_w(x_i) - (1 - y_i) \log h_w(1 - x_i) + \frac{\lambda}{2} ||w||^2$
My question (a rather technical one) is about the regularization term. If the cost functi... |
The latest edition of The Lancet has a paper reporting on mortality among children under the age of 5 around the world. It is entitled "Global, regional, and national causes of under-5 mortality in 2000–15: an updated systematic analysis with implications for the Sustainable Development Goals." In the abstract, they re... |
I would like to model heteroscedasticity or better, the standard deviation of the mean as a function of x and retrieve the coefficients that says something about how standard deviation behaves with respect to x.
here is some data:
n <- 1000
x <- runif(n)
y <- 1 - 2*x + x*rnorm(n)
plot(y~x)
r <- lm(y~x)
qplot(x,r$resi... |
I am trying to do some multivariate cluster analysis as follows:
I have a file in which I have the data and I perform the cluster analysis using k-means:
data <- read.csv("data_file")
str(data)
'data.frame': 10 obs. of 3 variables:
$ A : num 2.64 2.01 2.02 1.85 1.94 ...
$ B : num 5.45 5.14 5.16 4.... |
I have a ratio as a response variable (typically in (0,1) ) which is the result of repeated measurement of a population satisfying a criteria over the total population for the time period.
The thing is that those populations might fail to be numerous enough to be confident in the value of the response for some periods... |
I read these two tweets written on 2016-12-15 by Andrew Ng:
Strong desire for global content made China 1st to develop Neural Machine Translation. US lucky to have so much english content
[…]
@ruchitgarg @ylecun Yes, that's what I meant. AFAIK first scalable deployment was BaiduTrans. Earlier rsch by Bengio, many oth... |
In word-embeddings visualization I often see that people perform the following two steps:
Train high-dimensional embeddings on a corpus
Use dimensionality reduction technique (e.g. PCA)
So why not simply set size of the hidden layer to 2, i.e. train word embeddings of size 2 in the first place, hence, eliminating the... |
I just run two mixed-effects logistic regressions. I narrowed down the best models using a stepwise manual backwards method and anova comparisons
The two regressions measure two different kinds of linguistic productivity: morphological (morph_num: 0 or 1) and syntactical (synt_num, 0 or 1).
The main predictor are :
tvl... |
I have, for N_countries countries and for each day during a certain period, a list of purchases from my website and how much each purchase was. I think that money spent as a function of days since the start of this period follows a sigmoid:
$$y \sim \mathcal N\left(\frac{\alpha}{1 + e^{-(\beta\cdot day + \gamma)}} + \d... |
In my training I have 10 months of data and the task is predict for next month top N products for each users. As I see popularity of each product have a significant trend. It means that if we teach a model on the first month prediction for 10 month will contain mistake. How include this effect into model? Now I use xgb... |
I am recently learning causal inference, and asked two questions without any answer. So I decide to ask the question differently from high level.
We know smoking and drinking are correlated, a person smokes are more likely to have drinking problems. However, we do not known which cause which. Suppose I want to figure o... |
I've been looking around out of curiosity if there is a standard method equivalent to OLS that finds the coefficients satisfying the minimum absolute error criteria as opposed to squared error, but haven't found anything for
$$
\min \sum_{i=1}^n ||F(x_i)-y_i||.
$$
I'm not talking about a LASSO (which is a penalty on t... |
I am using Logistic Regression (LR) to obtain Coronary Artery Disease CAD probability equation. The dataset has 16 candidate predictors, all continuous. There are two groups, CAD patient group (70 subjects), and an age-matched control group AMC (~ 70 subjects). Given that the control group is age-matched, I have a feei... |
I know that when estimating and using ordinary least squares, irregular terms have to be iid N(0, σ2 ). Now I want to use non-linear least squares method for estimations. Are there any specific conditions that irregular terms have to fullfill? Or do they have to be still iid N(0, σ2 )?
|
In Deep Residual Learning for Image Recognition, I am trying to understand better the "dotted shortcuts" from Figure 3, where the first convolutional layer in those shortcuts is applied with stride of 2. I understand the linear transformation via 1x1 convolution to handle the increase in dimension, i.e., Eqn.(2). It's ... |
I have a parenting questionnaire with three sub-scales. Within the sub-scales I have item level missing data. It is less than 5% of the data, but I would like to use multiple imputation to correct the missing data. I am using the MICE package in R, and the mice() function. I wanted to ask what method of imputation shou... |
In his (fantastic, fascinating and sure to become a classic) book "Thinking, Fast and Slow", Daniel Kahneman asks the reader the question in the title. I was wondering how people would approach this problem. A similar question with some answers (one of them is mine) can be found here. However, these answers consider a ... |
I have a an ARIMA model which gives a pretty good forecast when compared to actuals. However it occasionally dips to negative values, while the quantity being predicted can never be negative.
Is there a way of forcing the ARIMA model to be positive?
|
Wrote a program to rate 2 hole cards (your hand) against a single random hand.
Your two hole card are combined with a common 5 card board to create the best 5 card hand. You can play the board. Each opponent does the same.
I remove the two cards from the 52 card deck. Run all the 5 card boards. And for each board ... |
I'm working with some categorical data that I want to use for prediction with a machine learning algorithm. Many of my my categorical features have multiple categories that contain very few positive observations.
I've seen approaches that merge categories in scenarios such as this in order to create a category with mor... |
If $Y_1,..., Y_{n}$ are iid N($\mu$, $\sigma^2$) where variance is unknown and $Y_{n+1}$ was observed but one thinks that this has different mean from the n observations.
What kind of test can I use to test whether the new observation $Y_{n+1}$ has different mean from the rest?
Some hint will be appreciated.
|
I'd like to run PCA on some data, and it looks like there are a lot of ways to do it. What is the best way, given this information?
The data is high-dimensional. Min: several thousand, max: around 150 million. Big range! Typically less than 10 million, I would think.
The lower number of samples I can do this with, the... |
I am attempting to write the mathematical model for and also simulate an MA(1) process that has drift (in R).
I have referenced ARIMA (0,1,1) or (0,1,0) - or something else?, Simulation of forecasted values in ARIMA (0,1,1), and Fitting ARIMA with a drift on R. I am aware that the "forecast" package that I am using add... |
I've been looking at how to use neural nets for time-series analysis. The examples I've seen mostly rely on a sliding window to feed the slice of the data into the input layer - which has as many input neurons as there are elements within that window.
Suppose I wanted to feed two "parallel" time-series into the same ne... |
I am working on classifying 30 second samples of music into one of four genres: ["electronic", "hip hop", "jazz", "rock"] and I would appreciate any kind of help.
I have generated my own data set from mp3 files. Within my "dataset" directory, I have arranged 100 songs by genre, putting 25 in subdirectories for each gen... |
I've implement c4.5 and CART, and i want compare them in my implementation of Boosting (AdaBoost). I don't understand how to "connect" weights, that im setting in AdaBoost, to decision tree algorithms.
At the begining i have Data set that i split for trening and testing sets. I set weights for trening set and build tre... |
I have two labelled classes, 500 examples of each, 4500 features for each of them. So the dataframe is 1000X4500.
Is it possible to devise a model which uses all the 4500 features and gives 100% accuracy, and then remove out unimportant features one by one till I get an accuracy of 85% (i.e. moving from a completely ov... |
As we know , we have two kinds of presentation in binary classification , one is 0/1 and the other is -1/1 .
For 0/1 case , we often use "negative logarithmic likelihood"
loss function for it , also known as cross entropy function ,
certainly other options such as "hinge" loss also can also be in
consideration . Here ... |
I'm working on my graduation research; one of the hypotheses I have is that there is a significant variation between male and female employees in their level of performance.
The t-test provided a p-value > 0.05 indicating no difference.
Out of curiosity, I ran the correlation test and again p-value > 0.05.
My questi... |
I tried to train CNN with very closely similar images for classification. Batch Normalization and dropout of 0.25 is used to overcome overfitting. This is the result I found.How can I interpret this result? Overfit, underfit or good fit?
|
I am trying to select an ARIMA model for a time series using out of sample testing (similar to how you would do it for any machine learning algorithm). I divide my data set into a training and test set and for each ARIMA model:
Fit the model to the training set
If the model has a good enough AIC or BIC move to step (3... |
What exact kind of architecture of neural networks do I need for a sequence binary/multiclass classification? The sequences can be of different length and are to be discriminated by a certain occurrence of smaller subsequences in it.
It would be great if you can provide Lasagne/Keras layers setup and their parameters.
... |
I'm trying to use the rejection method (accept/reject) to simulate samples of various dimensions from the distribution with density function of probability
And graphically check whether the sample comes from a population with Beta distribution (1/2, 3).
Here's what I've done:
# 1. Define sample size
nvals <- 5000
#... |
I want to plan a study where I want to correlate change in mean parameters and results of discrete events (a 2x2 contingency table).
For every site of my study I'll have two group of patients, one receiving drug A and one receiving drug B. I'll measure change in mean of parameter C after follow-up and I'll be recording... |
I just read the paper of Engle & Ng (1993) in which they introduced the sign bias test (positive sign bias t., negative sign bias t., joint test). I have a problem understanding what the test statistic is.
Is it $\chi^2$ with 3 DF for the joint and 1 DF for the other tests?
Reference:
Engle, Robert F., and Victor K. N... |
Say that $\mathcal{X}$ is the samples set and $X$ is a r.v. that takes value in it, and $\mathcal{Y}$ is the labels set with $Y$ a r.v. that takes value in it.
Classification problems are easily represented in probability terms. For example, when we wish to classify some sample $x \in \mathcal{X}$ our goal i to find $\... |
I'm trying to learn how to do multiple regression with categorical variables. I have a dataset of credit card balance data that looks as follows:
I then did a regression on all variables (in R):
I understand the concept of dummy variables and always omitting one of them, which R does for you automatically.
I haven't... |
I have a dataset with multiple categories but also with a catch all other category. For example,
Category | Count
A|10
B|12
C|4
Other|5
So in this case I have three categories where I have human classified results, but I also have 5 where the humans were uncertain.
I would like to train a model with only the ... |
I have a doubt about the multiple lieìnear regression I wanna run.
My dataset is of more than 16000 obs about videogames (kaggle one).
The target variable is Global sales,
The regressors are all factors (genre, publisher and platform of videogames).
The other regressor I'd like to use is the variable NA_Sales (tota... |
I would like to learn the parameters for a truncated gaussian like this one.
I'm using this formula for the probability density
$f(x | \mu, \sigma^2) = \exp\left(-\frac{(x-\mu)^2}{2\sigma^2}\right) \times \frac{1}{F(\mu, \sigma)}\times \mathbb{1}_{x>0}$
where $F(\mu, \sigma)$ is a function so that the integral of $f$ ... |
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... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.