# Prediction - Survival Model

Predict with Survival Model.

## How to Access This Feature

### From + (plus) Button

From a step that creates a Survival Model, you can access this feature from 'Add' (Plus) button. Select one of the 3 "Predict" menus. ![](/files/-M4oNDvx_BBdJ5TUKuHR)

## How to Use This Feature

![](/files/-M4oNDvzYTALYfv_adUk)

1. With "Data" dropdown, select data to predict on from the following options.

* Training - Get predicted values on training data.
* Test - Get predicted values on test data.
* Data Frame - Get predicted values on other data frame.

1. Select "Type of Prediction" from the following options.

* Linear Predictor - lp - Risk Score on a log scale.
* Risk Score - exp(lp) - Score for the risk that the event happens within a unit time for the subject.
* Expected Number of Events - Number of events that would happen on average for a subject that has same condition as the subject during the time the subject has survived.
* Status at Specified Time - Predicted status of the subject at the specified time.

1. Select "Type of Residual" from the following options.

* Martingale
* Deviance
* Score
* Schoenfeld
* Schoenfeld (Scaled)
* DFBETA
* DFBETA (Scaled)

1. Click "Run" button to run the prediction.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.exploratory.io/machine-learning/prediction_coxph.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
