Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
How to calc average spell length from survivor function

Subject: How to calc average spell length from survivor function

From: Economist

Date: 21 Oct, 2011 22:34:13

Message: 1 of 1

Given an estimate of a survivor function by coxphfit for a group of spells, how would one calculate expected spell length of those spells that do end?

Some spells never end, so,the survivor function never goes all the way to zero.

The survivor function is as here:

http://www.mathworks.se/help/toolbox/stats/coxphfit.gif

but, as said, it does not go all the way to zero.

Tags for this Thread

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us