Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8813903
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T03:58:36+00:00 2026-06-14T03:58:36+00:00

When I use summary() for a survfit object, I get a nice data.frame with

  • 0

When I use summary() for a survfit object, I get a nice data.frame with columns for

time n.risk n.event survival std.err lower 95% CI upper 95% CI

But summary() on a coxph object gives a different result. I realize functions work differently on different object classes, but is there a command that works on coxph in a similar way that summary() works on survfit? I haven’t been able to find answers so far in the documentation.

Thanks!
Tom

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T03:58:38+00:00Added an answer on June 14, 2026 at 3:58 am

    To expand a bit on @BenBarnes comment.

    You can pass a coxph object (the result of fitting the model) to the survfit function and it will return the information similar to using survfit directly. By default it will give a single table (or plotted line if you plot the result) corresponding to all the covariates at their mean, but you can also give it a newdata data frame with the covariate values you want to use and it will give you a table (plotted line) for each row of the data frame.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Summary: When attempting to use marshalling to pass string data into a C++ DLL
I would like to use data.table to calculate a summary statistic, and then based
TL;DR Summary: I need a single command-line application which I can use to get
I want to use LoadingRowGroup event in SilverLight DataGrid to display a group summary.
Problem summary: I use OpenGL glReadPixels to get a screenshot but the buffer is
Summary I am working on an emf-based editor. Up until now I didn't use
We are two students who want to use one-class svm for dectection of summary
use strict; use warnings; use Time::HiRes qw(sleep); use Test::WWW::Selenium; use Test::More no_plan; use Test::Exception;
Summary: If you use ASP.NET MVC 2's templates to render a DropDownList, how would
I have a validation Summary I am using for the RequiredFieldValidators to use to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.