B737 Undifferentiated or Other Model
Flight Crew Air Transport Pilot (ATP)
Flight Crew Last 90 Days 181
Situational Awareness
Conflict Airborne Conflict; Deviation - Track / Heading All Types; Inflight Event / Encounter Wake Vortex Encounter
Air Traffic Control Issued New Clearance; Flight Crew Took Evasive Action
Human Factors
We departed LAS climbing LNAV/VNAV on the TRALR 7 Departure behind another carrier's aircraft. We were in compliance with the SID speed and altitudes.  We encountered wake turbulence at 8000 ft. We noticed then that we were just under five miles in trail with a rapid closure rate. We were visually closing faster than I was comfortable so I told the Captain I was commencing a right turn off course for traffic avoidance and to advise Departure Control. Just after beginning the turn we received a TCAS RA and I disconnected the autopilot to comply. ATC told us to turn left but in our judgment that would have put us in jeopardy of collision with [the other] aircraft so I continued a right hand turn. After we; and ATC; regained separation; I reengaged the autopilot. We were then given vectors on course. After separation and resuming on course; ATC asked [the preceding flight] why they were at such a slow speed. They replied that they had slowed to make an altitude restriction. Also; no TCAS TA preceded the RA.
B737 First Officer reported encountering wake turbulence from the preceding air carrier departing LAS when the preceding flight slowed to make a climb restriction.